From 77b57fbbfee408cfd74fe265ef9763ab033c51db Mon Sep 17 00:00:00 2001 From: Arthur Schiwon Date: Sun, 28 Oct 2012 15:10:15 +0100 Subject: [PATCH] check if RUNTIME_NOAPPS is set before using it --- lib/util.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/util.php b/lib/util.php index 4dc2530225f..7b15919b64b 100755 --- a/lib/util.php +++ b/lib/util.php @@ -25,7 +25,7 @@ class OC_Util { } // load all filesystem apps before, so no setup-hook gets lost - if(!$RUNTIME_NOAPPS) { + if(!isset($RUNTIME_NOAPPS) || !$RUNTIME_NOAPPS) { OC_App::loadApps(array('filesystem')); }