From 7ee9737ef67fded89fb51602b06c8f77fba97bb1 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Sun, 8 Nov 2009 16:27:19 -0500 Subject: [PATCH] incorrectly saving wrong values in siteadminpanel --- actions/siteadminpanel.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/actions/siteadminpanel.php b/actions/siteadminpanel.php index 2c7382e43b..460567c224 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'); -- 2.39.5