1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-02 12:48:26 +02:00

Issue $4501 Fix fatal error PHP 8.3

This commit is contained in:
camer0n
2023-11-28 16:47:40 -08:00
parent 8bf7df5ce7
commit 939a149ed0

View File

@@ -887,6 +887,11 @@ class db_verify
*/ */
function getId($tabl,$cur) function getId($tabl,$cur)
{ {
if(empty($tabl))
{
return null;
}
$key = array_flip($tabl); $key = array_flip($tabl);
if(strpos($cur,"lan_") === 0) // language table adjustment. if(strpos($cur,"lan_") === 0) // language table adjustment.