diff --git a/app/controllers/consultation/admin.php b/app/controllers/consultation/admin.php index bd9f2e1f9e5bfabe9ea303ea0cd4105264e22169..ef40862e0174c64414fc4fbe18e9c11056895aba 100644 --- a/app/controllers/consultation/admin.php +++ b/app/controllers/consultation/admin.php @@ -795,20 +795,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());