mirror of
https://github.com/e107inc/e107.git
synced 2025-08-01 04:10:38 +02:00
PHP Notice removal
This commit is contained in:
@@ -736,7 +736,7 @@ class UserHandler
|
|||||||
}
|
}
|
||||||
foreach (array(e_UC_MEMBER, e_UC_READONLY, e_UC_PUBLIC) as $c)
|
foreach (array(e_UC_MEMBER, e_UC_READONLY, e_UC_PUBLIC) as $c)
|
||||||
{
|
{
|
||||||
if (!in_array($c, vartrue($classList)))
|
if (!in_array($c, vartrue($classList, array())))
|
||||||
{
|
{
|
||||||
$classList[] = $c;
|
$classList[] = $c;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user