aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/controllers/resources/booking.php2
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');