HOR-4658
This commit is contained in:
@@ -262,7 +262,7 @@ class ChangeLog
|
||||
return false;
|
||||
}
|
||||
foreach ($this->permissions as $type => $ids) {
|
||||
if (array_search($uid, $ids) !== false) {
|
||||
if (is_array($ids) && array_search($uid, $ids) !== false) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user