1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-25 00:41:52 +02:00

Fixes #5220 - Database warning issue.

This commit is contained in:
camer0n
2024-03-26 10:06:43 -07:00
parent 868e6a42c4
commit 6f6418fb79

View File

@@ -1210,7 +1210,7 @@ function check_class($var, $userclass = null, $uid = 0)
$userclass = defset('USERCLASS_LIST', '0');
}
$e107 = e107::getInstance();
if ($var === e_LANGUAGE)
if ($var === defset('e_LANGUAGE'))
{
return true;
}