mirror of
https://github.com/e107inc/e107.git
synced 2025-08-02 20:57:26 +02:00
Issue $4501 Fix fatal error PHP 8.3
This commit is contained in:
@@ -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.
|
||||||
|
Reference in New Issue
Block a user