diff options
| author | Moritz Strohm <strohm@data-quest.de> | 2025-07-23 10:05:05 +0000 |
|---|---|---|
| committer | Moritz Strohm <strohm@data-quest.de> | 2025-07-23 10:05:05 +0000 |
| commit | 5ffcc8b1d3e56de7a09531a446d4284629ecb7eb (patch) | |
| tree | c60313fbce86539c210e0ddcd98adab664f1f41a | |
| parent | b91c82da91b2c71dabc7d837c50b129beb799e9f (diff) | |
resources/booking/add: fixed handling of overwrite_bookings parameter, fixes #5749
Closes #5749
Merge request studip/studip!4377
(cherry picked from commit 088c42d3012af3d9a4873169eed55b89794cfbc2)
cf74959d resources/booking/add: fixed handling of overwrite_bookings parameter
Co-authored-by: Moritz Strohm <strohm@data-quest.de>
| -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 4439e5c..43617e6 100644 --- a/app/controllers/resources/booking.php +++ b/app/controllers/resources/booking.php @@ -1066,7 +1066,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'); |
