aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/elgglib.php
diff options
context:
space:
mode:
Diffstat (limited to 'engine/lib/elgglib.php')
-rw-r--r--engine/lib/elgglib.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/engine/lib/elgglib.php b/engine/lib/elgglib.php
index 392f6cd8b..2db75b6f7 100644
--- a/engine/lib/elgglib.php
+++ b/engine/lib/elgglib.php
@@ -317,6 +317,9 @@
global $CONFIG;
+ if (!isset($CONFIG->views))
+ $CONFIG->views = new stdClass;
+
if (!isset($CONFIG->views->simplecache))
$CONFIG->views->simplecache = array();