diff options
| author | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2022-10-24 18:20:55 +0000 |
|---|---|---|
| committer | Elmar Ludwig <elmar.ludwig@uni-osnabrueck.de> | 2022-10-24 18:20:55 +0000 |
| commit | ac6ddd390b165914d0db3832b8015b291a8cf2b5 (patch) | |
| tree | 52f50d54e934ec4f365f10a8be722d15a6d1c439 /app/controllers/consultation | |
| parent | 0d5259386e64939dc8300802449838887c27f62e (diff) | |
allow changing of many options for consultation blocks, fixes #1707
Closes #1707
Merge request studip/studip!1113
Diffstat (limited to 'app/controllers/consultation')
| -rw-r--r-- | app/controllers/consultation/admin.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/app/controllers/consultation/admin.php b/app/controllers/consultation/admin.php index 3c1cb47..c1b891f 100644 --- a/app/controllers/consultation/admin.php +++ b/app/controllers/consultation/admin.php @@ -372,6 +372,11 @@ class Consultation_AdminController extends ConsultationController $this->block = $this->loadBlock($block_id); $this->block->room = trim(Request::get('room')); $this->block->note = trim(Request::get('note')); + $this->block->size = Request::int('size'); + $this->block->calendar_events = Request::bool('calender-events', false); + $this->block->show_participants = Request::bool('show-participants', false); + $this->block->require_reason = Request::option('require-reason'); + $this->block->confirmation_text = trim(Request::get('confirmation-text')); foreach ($this->block->slots as $slot) { $slot->note = ''; |
