diff --git a/app/controllers/consultation/admin.php b/app/controllers/consultation/admin.php index eca774c4d203a15bdcf82a5311c451fad692c199..1682337ac505c112695c79163d6a52236cdb4f6e 100644 --- a/app/controllers/consultation/admin.php +++ b/app/controllers/consultation/admin.php @@ -797,20 +797,20 @@ class Consultation_AdminController extends ConsultationController $options->addCheckbox( _('Benachrichtungen über Buchungen'), $this->getUserConfig()->getValue('CONSULTATION_SEND_MESSAGES'), - $this->toggleURL('messages/1', $action === 'expired'), - $this->toggleURL('messages/0', $action === 'expired') + $this->toggleURL('messages', 1, $action === 'expired'), + $this->toggleURL('messages', 0, $action === 'expired') ); $options->addCheckbox( _('Abgelaufene Terminblöcke automatisch löschen'), $config->CONSULTATION_GARBAGE_COLLECT, - $this->toggleURL('garbage/1', $action === 'expired'), - $this->toggleURL('garbage/0', $action === 'expired') + $this->toggleURL('garbage', 1, $action === 'expired'), + $this->toggleURL('garbage', 0, $action === 'expired') ); $options->addCheckbox( _('Termine gruppiert anzeigen'), $this->getUserConfig()->getValue('CONSULTATION_SHOW_GROUPED'), - $this->toggleURL('grouped/1', $action === 'expired'), - $this->toggleURL('grouped/0', $action === 'expired') + $this->toggleURL('grouped', 1, $action === 'expired'), + $this->toggleURL('grouped', 0, $action === 'expired') ); $export = $sidebar->addWidget(new ExportWidget());