diff --git a/app/controllers/consultation/admin.php b/app/controllers/consultation/admin.php index 3708bc872cba2ab3329ae9195f76d272b6d09c32..3ead620346a3e2303b135d7dc617621700714a09 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());