php8.1 : compatibility
This commit is contained in:
parent
778400a506
commit
d606c1d6fa
18 changed files with 131 additions and 32 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue