$_SESSION['debugging'] has to be true in order to print out query
authorDaniel Hromada <hromi@Aphrodité.(none)>
Wed, 26 Jan 2011 21:46:33 +0000 (22:46 +0100)
committerDaniel Hromada <hromi@Aphrodité.(none)>
Wed, 26 Jan 2011 21:46:33 +0000 (22:46 +0100)
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.133113 seconds and 4 git commands to generate.