Skip to content

Commit

Permalink
Merge pull request #8499 from Sesquipedalian/2.1/calendar_theme_optio…
Browse files Browse the repository at this point in the history
…ns_heading

Hide calendar heading in theme options when calendar is disabled
  • Loading branch information
Sesquipedalian authored Mar 3, 2025
2 parents 1cc691b + cfb2fef commit 7f63cea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Themes/default/Settings.template.php
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ function template_options()
'label' => $txt['pm_remove_inbox_label'],
'default' => true,
),
$txt['theme_opt_calendar'],
!empty($modSettings['cal_enabled']) ? $txt['theme_opt_calendar'] : '',
array(
'id' => 'calendar_default_view',
'label' => $txt['calendar_default_view'],
Expand Down

0 comments on commit 7f63cea

Please sign in to comment.