This commit is contained in:
Roly Rudy Gutierrez Pinto
2018-06-13 13:33:23 -04:00
parent 19155f7b10
commit 96e7c7588e
4 changed files with 6 additions and 1 deletions

View File

@@ -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;
}
}