Index: trunk/kernel/include/adodb/adodb.inc.php =================================================================== diff -u -N -r1852 -r3216 --- trunk/kernel/include/adodb/adodb.inc.php (.../adodb.inc.php) (revision 1852) +++ trunk/kernel/include/adodb/adodb.inc.php (.../adodb.inc.php) (revision 3216) @@ -701,7 +701,8 @@ $inputarr = false; } // debug version of query - if ($this->debug) { + if ($this->debug && isset($GLOBALS['debugger']) ) + { global $HTTP_SERVER_VARS, $debugger; $ss = '';