X-Git-Url: http://git.harvie.cz/?a=blobdiff_plain;f=wwwroot%2Finc%2Fdatabase.inc;h=8fcef4eda017d344ca0b7bba3f6e2f3337c6a3d9;hb=37e8d23972984a127bec7c4faa237e5a80e1068e;hp=16a527c81c4ec7d1e761ac4f62c6d50b7ee5f418;hpb=1e520b723c7e4884f16e115a879285a9338bd844;p=mirrors%2FKyberia-bloodline.git diff --git a/wwwroot/inc/database.inc b/wwwroot/inc/database.inc index 16a527c..8fcef4e 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 ($_SESSION['debugging']) { + if ((isset($_SESSION['debugging']) && $_SESSION['debugging'])) { echo $sql; global $timer_start; echo "
".SubStr((Time()+SubStr(MicroTime(),0,8)-$timer_start),0,7);