diff options
Diffstat (limited to 'inc')
-rw-r--r-- | inc/auth/mysql.class.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/inc/auth/mysql.class.php b/inc/auth/mysql.class.php index 3d5af3640..26cfb85d9 100644 --- a/inc/auth/mysql.class.php +++ b/inc/auth/mysql.class.php @@ -772,6 +772,10 @@ class auth_mysql extends auth_basic { * @author Matthias Grimm <matthiasgrimm@users.sourceforge.net> */ function _queryDB($query) { + if($this->cnf['debug'] >= 2){ + msg('MySQL query: '.hsc($query),0,__LINE__,__FILE__); + } + $resultarray = array(); if ($this->dbcon) { $result = @mysql_query($query,$this->dbcon); |