Cleanup $go_debug in system_tests.inc
authorJoe <unknown>
Sun, 25 Jan 2015 07:46:58 +0000 (08:46 +0100)
committerJoe <unknown>
Sun, 25 Jan 2015 07:46:58 +0000 (08:46 +0100)
includes/system_tests.inc

index 883ee038d1b2e8a1174d2e3b41945b6371be6a99..e7bc83b4cb48690113571a42c7093fa04918f0e2 100644 (file)
@@ -124,7 +124,7 @@ function tst_debug()
        $test['descr'] = _('Debugging mode');
        $test['type'] = 0;
        $test['test'] = $SysPrefs->go_debug ? _("Yes") : _("No");
-       $test['result'] = $go_debug != 0;
+       $test['result'] = $SysPrefs->go_debug != 0;
        $test['comments'] = _('To switch debugging on set $go_debug>0 in config.php file');
 
        return $test;