incorrectly saving wrong values in siteadminpanel
This commit is contained in:
parent
2f770cecf9
commit
7ee9737ef6
|
@ -109,7 +109,7 @@ class SiteadminpanelAction extends AdminPanelAction
|
||||||
$config->query('BEGIN');
|
$config->query('BEGIN');
|
||||||
|
|
||||||
foreach ($settings as $setting) {
|
foreach ($settings as $setting) {
|
||||||
Config::save('site', $setting, $values['setting']);
|
Config::save('site', $setting, $values[$setting]);
|
||||||
}
|
}
|
||||||
|
|
||||||
$config->query('COMMIT');
|
$config->query('COMMIT');
|
||||||
|
|
Loading…
Reference in New Issue
Block a user