php8.1 : compatibility

This commit is contained in:
Dany De Bontridder 2022-08-27 16:54:30 +02:00 committed by sparkyx
parent 778400a506
commit d606c1d6fa
18 changed files with 131 additions and 32 deletions

View file

@ -1000,7 +1000,7 @@ class DatabaseCore
foreach ($forbid_sql as $forbid_key) {
if (stripos($p_sql,$forbid_key) !== false)
{
throw new Exception(_("Possible SQL inject",EXC_INVALID));
throw new Exception(_("Possible SQL inject"),EXC_INVALID);
}
}