]> source.dussan.org Git - nextcloud-server.git/commitdiff
-- Fixed error where $enabled is parsed but empty
authorChristoph Schaefer <christophł@wolkesicher.de>
Thu, 7 Jan 2016 18:49:40 +0000 (19:49 +0100)
committerRoeland Jago Douma <rullzer@owncloud.com>
Wed, 13 Jan 2016 05:39:02 +0000 (06:39 +0100)
lib/private/app/appmanager.php

index 8ae93f98832c9a230d47b6218a85473a49635952..4d359ff177cc6ef274c6bf920b73c18aade62f5f 100644 (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)) {