From: Daniel Hromada Date: Wed, 26 Jan 2011 21:46:33 +0000 (+0100) Subject: $_SESSION['debugging'] has to be true in order to print out query X-Git-Url: https://git.harvie.cz/?a=commitdiff_plain;h=1e520b723c7e4884f16e115a879285a9338bd844;p=mirrors%2FKyberia-bloodline.git $_SESSION['debugging'] has to be true in order to print out query --- diff --git a/wwwroot/inc/database.inc b/wwwroot/inc/database.inc index 6566ce9..16a527c 100644 --- a/wwwroot/inc/database.inc +++ b/wwwroot/inc/database.inc @@ -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 "
".SubStr((Time()+SubStr(MicroTime(),0,8)-$timer_start),0,7);