forked from extern/egroupware
fix PHP 8.1 makes all schema errors fatal, change that back to previous behavior, to ease updates
This commit is contained in:
parent
676e855ad5
commit
1989e1a949
@ -948,8 +948,13 @@ class Schema
|
||||
}
|
||||
else
|
||||
{
|
||||
try {
|
||||
$retval = $this->dict->ExecuteSQLArray($aSql);
|
||||
}
|
||||
catch (\mysqli_sql_exception $e) {
|
||||
$retval = 1;
|
||||
}
|
||||
}
|
||||
if ($retval < 2 || $this->debug >= $debug_level || $this->debug > 3)
|
||||
{
|
||||
$debug_params = func_get_args();
|
||||
|
Loading…
Reference in New Issue
Block a user