From 088c42d3012af3d9a4873169eed55b89794cfbc2 Mon Sep 17 00:00:00 2001 From: Moritz Strohm Date: Wed, 23 Jul 2025 10:02:46 +0000 Subject: resources/booking/add: fixed handling of overwrite_bookings parameter, fixes #5749 Closes #5749 Merge request studip/studip!4377 --- app/controllers/resources/booking.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'); -- cgit v1.0