-- Fixed error where $enabled is parsed but empty

This commit is contained in:
Christoph Schaefer 2016-01-07 19:49:40 +01:00 committed by Roeland Jago Douma
parent eac5d9fb3a
commit 4b3bef4dc7

View file

@ -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)) {