]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
incorrectly saving wrong values in siteadminpanel
authorEvan Prodromou <evan@status.net>
Sun, 8 Nov 2009 21:27:19 +0000 (16:27 -0500)
committerEvan Prodromou <evan@status.net>
Sun, 8 Nov 2009 21:27:19 +0000 (16:27 -0500)
actions/siteadminpanel.php

index 2c7382e43b160104470b56693ee115f313e2e66e..460567c2240395fb72c808c3fe52c691106adfd6 100644 (file)
@@ -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');