summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2009-11-08 16:27:19 -0500
committerEvan Prodromou <evan@status.net>2009-11-08 16:27:19 -0500
commit7ee9737ef67fded89fb51602b06c8f77fba97bb1 (patch)
tree4e2dd02d0116df22432b8cfc96cfa90363e5947f
parent2f770cecf9c44d465b2f88cb3ab9ed11e5626501 (diff)
incorrectly saving wrong values in siteadminpanel
-rw-r--r--actions/siteadminpanel.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/siteadminpanel.php b/actions/siteadminpanel.php
index 2c7382e43..460567c22 100644
--- a/actions/siteadminpanel.php
+++ b/actions/siteadminpanel.php
@@ -109,7 +109,7 @@ class SiteadminpanelAction extends AdminPanelAction
$config->query('BEGIN');
foreach ($settings as $setting) {
- Config::save('site', $setting, $values['setting']);
+ Config::save('site', $setting, $values[$setting]);
}
$config->query('COMMIT');