diff options
-rw-r--r-- | it_dbi.class | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/it_dbi.class b/it_dbi.class index dfc5765..d08f63f 100644 --- a/it_dbi.class +++ b/it_dbi.class @@ -463,7 +463,7 @@ function query($query, $p = array()) } - if ($GLOBALS['debug_sqllog']) + if ($GLOBALS['debug_sqllog'] || $GLOBALS['debug_sqltrace']) { $end = gettimeofday(); $msec = round(($end['sec'] - $start['sec']) * 1000 + ($end['usec'] - $start['usec']) / 1000); |