Skip to content

Commit

Permalink
Fixes #5220 - Database warning issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
CaMer0n committed Mar 26, 2024
1 parent 868e6a4 commit 6f6418f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion class2.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 6f6418f

Please sign in to comment.