From c84feb5f36d81aee9b0a96eca10e58a0f52e1400 Mon Sep 17 00:00:00 2001 From: marcus Date: Thu, 19 Jun 2008 12:55:23 +0000 Subject: Ref #57 git-svn-id: https://code.elgg.org/elgg/trunk@993 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/elgglib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engine') 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')) -- cgit v1.2.3