Skip to content

Commit 6f40075

Browse files
authored
Added fix to maintenance settings to correctly show status (#1322)
1 parent 6f56935 commit 6f40075

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/cms/models/MaintenanceSetting.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ public function afterFetch()
8282
{
8383
if (
8484
($theme = Theme::getEditTheme())
85-
&& ($themeMap = array_get($this->attributes, 'theme_map'))
85+
&& ($themeMap = array_get($this->value, 'theme_map'))
8686
&& ($cmsPage = array_get($themeMap, $theme->getDirName()))
8787
) {
8888
$this->cms_page = $cmsPage;

0 commit comments

Comments
 (0)