Mercurial > hg > rc1
diff plugins/calendar/calendar.php @ 58:082a19037887 default tip
More cleaning up php8 Warnings/deprecations
| author | Charlie Root |
|---|---|
| date | Wed, 15 Oct 2025 14:06:01 -0400 |
| parents | 91f005a4f7e9 |
| children |
line wrap: on
line diff
--- a/plugins/calendar/calendar.php Wed Oct 08 09:33:13 2025 -0400 +++ b/plugins/calendar/calendar.php Wed Oct 15 14:06:01 2025 -0400 @@ -126,7 +126,7 @@ $this->setup(); // load Calendar user interface - if (!$this->rc->output->ajax_call && (!$this->rc->output->env['framed'] || $args['action'] == 'preview')) { + if (!$this->rc->output->ajax_call && (empty($this->rc->output->env['framed']) || $args['action'] == 'preview')) { $this->ui->init(); // settings are required in (almost) every GUI step
