forked from Wavyzz/dolibarr
Add test if flush fails
This commit is contained in:
@@ -1037,6 +1037,10 @@ class DoliDb
|
||||
|
||||
dol_syslog("mysqli.lib::DDLCreateUser sql=".$sql);
|
||||
$resql=$this->query($sql);
|
||||
if (! $resql)
|
||||
{
|
||||
return -1;
|
||||
}
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user