-- Fixed error where $enabled is parsed but empty
This commit is contained in:
parent
eac5d9fb3a
commit
4b3bef4dc7
|
@ -147,6 +147,10 @@ class AppManager implements IAppManager {
|
||||||
} elseif (is_null($user)) {
|
} elseif (is_null($user)) {
|
||||||
return false;
|
return false;
|
||||||
} else {
|
} else {
|
||||||
|
if(empty($enabled)){
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
$groupIds = json_decode($enabled);
|
$groupIds = json_decode($enabled);
|
||||||
|
|
||||||
if (!is_array($groupIds)) {
|
if (!is_array($groupIds)) {
|
||||||
|
|
Loading…
Reference in New Issue