Update mysqli.class.php

This commit is contained in:
Laurent Destailleur 2019-03-07 12:36:57 +01:00 committed by GitHub
parent 414bac6fb4
commit b4bdbda9f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -256,9 +256,8 @@ class DoliDBMysqli extends DoliDB
$query = trim($query);
if (empty($query)) return null;
if (! in_array($query, array('BEGIN','COMMIT','ROLLBACK'))) dol_syslog('sql='.$query, LOG_DEBUG);
if (empty($query)) return false; // Return false = error if empty request
if (! $this->database_name)
{