-- Fixed error where $enabled is parsed but empty
This commit is contained in:
parent
eac5d9fb3a
commit
4b3bef4dc7
1 changed files with 4 additions and 0 deletions
|
@ -147,6 +147,10 @@ class AppManager implements IAppManager {
|
|||
} elseif (is_null($user)) {
|
||||
return false;
|
||||
} else {
|
||||
if(empty($enabled)){
|
||||
return false;
|
||||
}
|
||||
|
||||
$groupIds = json_decode($enabled);
|
||||
|
||||
if (!is_array($groupIds)) {
|
||||
|
|
Loading…
Reference in a new issue