mirror of
https://github.com/kleeja-official/kleeja.git
synced 2025-12-15 20:49:41 +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;
|
||||
|
||||
// get information ..
|
||||
$agent = $SQL->escape($_SERVER['HTTP_USER_AGENT']);
|
||||
$agent = $SQL->escape($_SERVER['HTTP_USER_AGENT'] ?? '');
|
||||
$time = time();
|
||||
|
||||
//for stats
|
||||
|
||||
Reference in New Issue
Block a user