Skip to content

Commit 6431e80

Browse files
committed
fixed bug on Admin Configuration page that was hidden by another one
1 parent e2dedcd commit 6431e80

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/site/controllers/Admin/Config.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ public function formSubmitted(FAPI\Form $form, &$form_state)
201201
$configuration = $this->loadObject($this->getRequest()->get('config_id'));
202202

203203
if (($values['action'] == 'edit' || $values['action'] == 'delete') && $this->getCache()->has('site.configuration')) {
204-
$cached_config = $this->getUtils()->getCachedConfig();
204+
$cached_config = $this->getSiteData()->getCachedConfig();
205205
if (isset($cached_config[$configuration->path])) {
206206
unset($cached_config[$configuration->path]);
207207
$this->getCache()->set('site.configuration', $cached_config);

0 commit comments

Comments
 (0)