summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/config.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/config.php b/lib/config.php
index 6af9fcbe5ad..60c6739a3fe 100644
--- a/lib/config.php
+++ b/lib/config.php
@@ -139,7 +139,7 @@ class OC_CONFIG{
// Include the file, save the data from $CONFIG
include( "$SERVERROOT/config/config.php" );
- if( isset( $CONFIG ) || is_array( $CONFIG )){
+ if( isset( $CONFIG ) && is_array( $CONFIG )){
self::$cache = $CONFIG;
}