aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-06-19 12:55:23 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-06-19 12:55:23 +0000
commitc84feb5f36d81aee9b0a96eca10e58a0f52e1400 (patch)
treea7ab851bda6d8420a0c713eaddec080e89c7bbdd
parent9026d48d405ba43dc6218ecfe34f6dfeb7b16104 (diff)
downloadelgg-c84feb5f36d81aee9b0a96eca10e58a0f52e1400.tar.gz
elgg-c84feb5f36d81aee9b0a96eca10e58a0f52e1400.tar.bz2
Ref #57
git-svn-id: https://code.elgg.org/elgg/trunk@993 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r--engine/lib/elgglib.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/lib/elgglib.php b/engine/lib/elgglib.php
index 1ea93623b..d559e5131 100644
--- a/engine/lib/elgglib.php
+++ b/engine/lib/elgglib.php
@@ -131,7 +131,7 @@
$_SESSION['view'] = "default";
// If we have a config default view for this site then use that instead of 'default'
- if (/*(is_installed()) && */(!empty($CONFIG->view)))
+ if (/*(is_installed()) && */(!empty($CONFIG->view)) && (trim($CONFIG->view)!=""))
$_SESSION['view'] = $CONFIG->view;
}
if (empty($viewtype) && is_callable('get_input'))