[Pkg-owncloud-commits] [owncloud] 73/121: Fix issue when no apps	are enabled
    David Prévot 
    taffit at moszumanska.debian.org
       
    Thu Aug 21 16:44:36 UTC 2014
    
    
  
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository owncloud.
commit 35c133143a84a05dc690ef3ce88a1e9c90590c32
Author: Vincent Petry <pvince81 at owncloud.com>
Date:   Mon Aug 11 15:32:56 2014 +0200
    Fix issue when no apps are enabled
    
    Properly initialize $apps array
---
 lib/private/app.php | 1 +
 1 file changed, 1 insertion(+)
diff --git a/lib/private/app.php b/lib/private/app.php
index 7bf04f1..e4b11f9 100644
--- a/lib/private/app.php
+++ b/lib/private/app.php
@@ -172,6 +172,7 @@ class OC_App {
 		if (!$forceRefresh && !empty(self::$enabledAppsCache)) {
 			return self::$enabledAppsCache;
 		}
+		$apps = array();
 		$appConfig = \OC::$server->getAppConfig();
 		$appStatus = $appConfig->getValues(false, 'enabled');
 		$user = \OC_User::getUser();
-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git
    
    
More information about the Pkg-owncloud-commits
mailing list