Mercurial > hg > rc1
comparison 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 |
comparison
equal
deleted
inserted
replaced
| 57:ade98a608cd3 | 58:082a19037887 |
|---|---|
| 124 return; | 124 return; |
| 125 | 125 |
| 126 $this->setup(); | 126 $this->setup(); |
| 127 | 127 |
| 128 // load Calendar user interface | 128 // load Calendar user interface |
| 129 if (!$this->rc->output->ajax_call && (!$this->rc->output->env['framed'] || $args['action'] == 'preview')) { | 129 if (!$this->rc->output->ajax_call && (empty($this->rc->output->env['framed']) || $args['action'] == 'preview')) { |
| 130 $this->ui->init(); | 130 $this->ui->init(); |
| 131 | 131 |
| 132 // settings are required in (almost) every GUI step | 132 // settings are required in (almost) every GUI step |
| 133 if ($args['action'] != 'attend') | 133 if ($args['action'] != 'attend') |
| 134 $this->rc->output->set_env('calendar_settings', $this->load_settings()); | 134 $this->rc->output->set_env('calendar_settings', $this->load_settings()); |
