aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/views.php
diff options
context:
space:
mode:
authorewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-01 08:05:03 +0000
committerewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-01 08:05:03 +0000
commit43d0988ac91e604fd0f2a752753ee2315072aaac (patch)
tree8d4e4b6372351c9527072c6cea48f762af6fd858 /engine/lib/views.php
parent84553b0fd0d507d3e8a963deb5cba12d0d5f0b84 (diff)
downloadelgg-43d0988ac91e604fd0f2a752753ee2315072aaac.tar.gz
elgg-43d0988ac91e604fd0f2a752753ee2315072aaac.tar.bz2
Initialize global $CURRENT_SYSTEM_VIEWTYPE correctly
git-svn-id: http://code.elgg.org/elgg/trunk@7982 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/views.php')
-rw-r--r--engine/lib/views.php1
1 files changed, 1 insertions, 0 deletions
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 = "";
/**