diff options
| author | Moritz Strohm <strohm@data-quest.de> | 2025-07-23 10:02:46 +0000 |
|---|---|---|
| committer | Moritz Strohm <strohm@data-quest.de> | 2025-07-23 10:02:46 +0000 |
| commit | 088c42d3012af3d9a4873169eed55b89794cfbc2 (patch) | |
| tree | 8f14cf816fc62d7bffc80f8a9e563a2c15fb0fef /app | |
| parent | b49f6aa3258bf3f629dfd951e60ac0e8a97f5468 (diff) | |
resources/booking/add: fixed handling of overwrite_bookings parameter, fixes #5749
Closes #5749
Merge request studip/studip!4377
Diffstat (limited to 'app')
| -rw-r--r-- | app/controllers/resources/booking.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/resources/booking.php b/app/controllers/resources/booking.php index ca025ba..f5dec25 100644 --- a/app/controllers/resources/booking.php +++ b/app/controllers/resources/booking.php @@ -1088,7 +1088,7 @@ class Resources_BookingController extends AuthenticatedController //a lock booking. CSRFProtection::verifyUnsafeRequest(); - $this->overwrite_bookings = Request::get('overwrite_bookings'); + $this->overwrite_bookings = Request::bool('overwrite_bookings', false); $this->semester_id = Request::get('semester_id'); $this->selected_end = Request::get('selected_end'); |
