aboutsummaryrefslogtreecommitdiff
path: root/actions/admin
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-06-18 13:32:43 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-06-18 13:32:43 +0000
commitc3a4bafc3f3f0984e8751e00e024ab8c09e0ff1b (patch)
tree78da419433a8ee844225cd8e436b724a1c832efc /actions/admin
parent64876aa88b223a8f368a7669b7e129847248fab7 (diff)
downloadelgg-c3a4bafc3f3f0984e8751e00e024ab8c09e0ff1b.tar.gz
elgg-c3a4bafc3f3f0984e8751e00e024ab8c09e0ff1b.tar.bz2
Fixes #18: Set default view type in admin
http://trac.elgg.org/elgg/ticket/18 git-svn-id: https://code.elgg.org/elgg/trunk@963 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'actions/admin')
-rw-r--r--actions/admin/site/update_basic.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/actions/admin/site/update_basic.php b/actions/admin/site/update_basic.php
index 830df9ad1..ae48da8f8 100644
--- a/actions/admin/site/update_basic.php
+++ b/actions/admin/site/update_basic.php
@@ -31,6 +31,8 @@
set_config('language', get_input('language'), $site->getGUID());
+ set_config('view', get_input('view'), $site->getGUID());
+
$debug = get_input('debug');
if ($debug)
set_config('debug', 1, $site->getGUID());