summaryrefslogtreecommitdiff
path: root/inc/auth/mysql.class.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/auth/mysql.class.php')
-rw-r--r--inc/auth/mysql.class.php4
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);