diff options
author | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-06-19 12:55:23 +0000 |
---|---|---|
committer | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-06-19 12:55:23 +0000 |
commit | c84feb5f36d81aee9b0a96eca10e58a0f52e1400 (patch) | |
tree | a7ab851bda6d8420a0c713eaddec080e89c7bbdd /engine | |
parent | 9026d48d405ba43dc6218ecfe34f6dfeb7b16104 (diff) | |
download | elgg-c84feb5f36d81aee9b0a96eca10e58a0f52e1400.tar.gz elgg-c84feb5f36d81aee9b0a96eca10e58a0f52e1400.tar.bz2 |
Ref #57
git-svn-id: https://code.elgg.org/elgg/trunk@993 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine')
-rw-r--r-- | engine/lib/elgglib.php | 2 |
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'))
|