Merge pull request #21673 from owncloud/chrsch-master

-- Fixed error where $enabled is parsed but empty
This commit is contained in:
Thomas Müller 2016-01-13 10:29:21 +01:00
commit e22186d234
1 changed files with 4 additions and 0 deletions

View File

@ -148,6 +148,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)) {