Undefined variable fix
authorniekt0 <niekt0@kyberia.cz>
Wed, 16 Feb 2011 10:30:49 +0000 (11:30 +0100)
committerniekt0 <niekt0@kyberia.cz>
Wed, 16 Feb 2011 10:30:49 +0000 (11:30 +0100)
wwwroot/inc/database.inc

index 16a527c81c4ec7d1e761ac4f62c6d50b7ee5f418..5232f30923cccd724e8aa97dee97a79ed6a6c088 100644 (file)
@@ -88,7 +88,7 @@ function query($sql) {
 
        $this->_queryId = mysql_query($sql,$this->_linkId);
 
-       if ($_SESSION['debugging']) {
+       if ((isset($_SESSION['debugging']) && $_SESSION['debugging']) {
                echo $sql;
                global $timer_start;
                echo "<BR>".SubStr((Time()+SubStr(MicroTime(),0,8)-$timer_start),0,7);
This page took 0.198189 seconds and 4 git commands to generate.