From 7ee9737ef67fded89fb51602b06c8f77fba97bb1 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Sun, 8 Nov 2009 16:27:19 -0500 Subject: incorrectly saving wrong values in siteadminpanel --- actions/siteadminpanel.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'actions/siteadminpanel.php') 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'); -- cgit v1.2.3-54-g00ecf