more boolean constants improved
[mailer.git] / inc / db / lib-mysql3.php
index 0c2b15b17f24bf7e8715cdf2449928196ea0820a..0cff40c6fc061fc5840336ba23c4ebd714e352b0 100644 (file)
@@ -59,7 +59,7 @@ function SQL_QUERY($sql_string, $F, $L)
         // Debug output
         //* DEBUG: */ print "Query=<pre>".$sql_string."</pre>, affected=<b>".SQL_AFFECTEDROWS()."</b>, numrows=<b>".SQL_NUMROWS($result)."</b><br />\n";
 
-       if (($CSS != "1") && ($CSS != "-1") && (DEBUG_MODE) && (DEBUG_SQL))
+       if (($CSS != "1") && ($CSS != "-1") && (isBooleanConstantAndTrue('DEBUG_MODE')) && (DEBUG_SQL))
        {
                //
                // Debugging stuff...