incorrectly saving wrong values in siteadminpanel

This commit is contained in:
Evan Prodromou 2009-11-08 16:27:19 -05:00
parent 2f770cecf9
commit 7ee9737ef6

View 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');