Fix phpunit

This commit is contained in:
Laurent Destailleur 2022-07-12 11:37:17 +02:00
parent f396908c94
commit 9d249bd56d

View File

@ -1211,7 +1211,7 @@ class Website extends CommonObject
// Load sql record
$runsql = run_sql($sqlfile, 1, '', 0, '', 'none', 0, 1, 0, 0, 1); // The maxrowid of table is searched into this function two
if ($runsql <= 0) {
$this->errors[] = 'Failed to load sql file '.$sqlfile.' (ret='.$runsql.')';
$this->errors[] = 'Failed to load sql file '.$sqlfile.' (ret='.((int) $runsql).')';
$error++;
}