]> git.mxchange.org Git - ctracker.git/commitdiff
Fix for warning
authorRoland Haeder <roland@mxchange.org>
Thu, 31 Dec 2009 16:54:17 +0000 (16:54 +0000)
committerRoland Haeder <roland@mxchange.org>
Thu, 31 Dec 2009 16:54:17 +0000 (16:54 +0000)
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]