Fix phpunit
This commit is contained in:
parent
f396908c94
commit
9d249bd56d
@ -1211,7 +1211,7 @@ class Website extends CommonObject
|
|||||||
// Load sql record
|
// 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
|
$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) {
|
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++;
|
$error++;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user