mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-09 11:08:34 +01:00
Add test if flush fails
This commit is contained in:
@@ -1037,6 +1037,10 @@ class DoliDb
|
|||||||
|
|
||||||
dol_syslog("mysqli.lib::DDLCreateUser sql=".$sql);
|
dol_syslog("mysqli.lib::DDLCreateUser sql=".$sql);
|
||||||
$resql=$this->query($sql);
|
$resql=$this->query($sql);
|
||||||
|
if (! $resql)
|
||||||
|
{
|
||||||
|
return -1;
|
||||||
|
}
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user