$_SESSION['debugging'] has to be true in order to print out query
[mirrors/Kyberia-bloodline.git] / wwwroot / inc / database.inc
index 6566ce9e48f1f560f739e72d23a98bce931611d7..16a527c81c4ec7d1e761ac4f62c6d50b7ee5f418 100644 (file)
@@ -88,7 +88,7 @@ function query($sql) {
 
        $this->_queryId = mysql_query($sql,$this->_linkId);
 
-       if (isset($_SESSION['debugging'])) {
+       if ($_SESSION['debugging']) {
                echo $sql;
                global $timer_start;
                echo "<BR>".SubStr((Time()+SubStr(MicroTime(),0,8)-$timer_start),0,7);
This page took 0.135257 seconds and 4 git commands to generate.