Skip to content

Commit

Permalink
Added fix to maintenance settings to correctly show status
Browse files Browse the repository at this point in the history
  • Loading branch information
jaxwilko authored Feb 28, 2025
1 parent 87557b4 commit 7aa5bec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/cms/models/MaintenanceSetting.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ public function afterFetch()
{
if (
($theme = Theme::getEditTheme())
&& ($themeMap = array_get($this->attributes, 'theme_map'))
&& ($themeMap = array_get($this->value, 'theme_map'))
&& ($cmsPage = array_get($themeMap, $theme->getDirName()))
) {
$this->cms_page = $cmsPage;
Expand Down

0 comments on commit 7aa5bec

Please sign in to comment.