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:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user