Merge pull request #21673 from owncloud/chrsch-master
-- Fixed error where $enabled is parsed but empty
This commit is contained in:
commit
e22186d234
|
@ -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)) {
|
||||
|
|
Loading…
Reference in New Issue