From 43d0988ac91e604fd0f2a752753ee2315072aaac Mon Sep 17 00:00:00 2001 From: ewinslow Date: Tue, 1 Feb 2011 08:05:03 +0000 Subject: Initialize global $CURRENT_SYSTEM_VIEWTYPE correctly git-svn-id: http://code.elgg.org/elgg/trunk@7982 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/views.php | 1 + 1 file changed, 1 insertion(+) diff --git a/engine/lib/views.php b/engine/lib/views.php index b29a2f35a..495b04ae5 100644 --- a/engine/lib/views.php +++ b/engine/lib/views.php @@ -53,6 +53,7 @@ * @global string $CURRENT_SYSTEM_VIEWTYPE * @see elgg_set_viewtype() */ +global $CURRENT_SYSTEM_VIEWTYPE; $CURRENT_SYSTEM_VIEWTYPE = ""; /** -- cgit v1.2.3