From 8b07aa362306f995a8fae44b7db2a62d39a3373f Mon Sep 17 00:00:00 2001 From: Laurent Destailleur <eldy@destailleur.fr> Date: Sun, 6 May 2012 15:28:51 +0200 Subject: [PATCH] Fix: log must be before request --- htdocs/core/db/mysql.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/core/db/mysql.class.php b/htdocs/core/db/mysql.class.php index 6f978b0b0fd..4dee1c977bf 100644 --- a/htdocs/core/db/mysql.class.php +++ b/htdocs/core/db/mysql.class.php @@ -809,8 +809,8 @@ class DoliDBMysql { // We try again for compatibility with Mysql < 4.1.1 $sql = 'CREATE DATABASE '.$database; - $ret=$this->query($sql); dol_syslog($sql,LOG_DEBUG); + $ret=$this->query($sql); } return $ret; } -- GitLab