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