mirror of
https://github.com/kleeja-official/kleeja.git
synced 2025-12-16 04:59:42 +01:00
Update functions.php
just to prevent passing null to parameter
This commit is contained in:
@@ -25,7 +25,7 @@ function kleeja_detecting_bots()
|
|||||||
global $SQL, $dbprefix, $config;
|
global $SQL, $dbprefix, $config;
|
||||||
|
|
||||||
// get information ..
|
// get information ..
|
||||||
$agent = $SQL->escape($_SERVER['HTTP_USER_AGENT']);
|
$agent = $SQL->escape($_SERVER['HTTP_USER_AGENT'] ?? '');
|
||||||
$time = time();
|
$time = time();
|
||||||
|
|
||||||
//for stats
|
//for stats
|
||||||
|
|||||||
Reference in New Issue
Block a user