]> git.mxchange.org Git - ctracker.git/blobdiff - libs/lib_general.php
Fix for warning
[ctracker.git] / libs / lib_general.php
index ff81bb9977f9318a29ea7ab15852e00a14d05379..19b7e2858aa3861e0fbc79737b1095746ffddb72 100644 (file)
@@ -75,7 +75,8 @@ if (!function_exists('implode_secure')) {
 
 // Getter for ctracker_debug
 function isCrackerTrackerDebug () {
-       return $GLOBALS['ctracker_debug'];
+       // Is it set?
+       return ((isset($GLOBALS['ctracker_debug'])) && ($GLOBALS['ctracker_debug'] === true));
 }
 
 // [EOF]