From: Evan Prodromou Date: Sun, 8 Nov 2009 21:27:19 +0000 (-0500) Subject: incorrectly saving wrong values in siteadminpanel X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=7ee9737ef67fded89fb51602b06c8f77fba97bb1;p=quix0rs-gnu-social.git incorrectly saving wrong values in siteadminpanel --- 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');