aboutsummaryrefslogtreecommitdiff
path: root/app/controllers
diff options
context:
space:
mode:
authorMurtaza Sultani <sultani@data-quest.de>2025-05-08 15:02:09 +0200
committerMurtaza Sultani <sultani@data-quest.de>2025-05-08 15:02:09 +0200
commit0ec8850969175e6ed7fc8e5e3c451668620252b3 (patch)
treeac621c904c71ba9988805e96a34b2bcecc43c0d9 /app/controllers
parenteb729ae22a46146b74c2b92920087bec765211ac (diff)
Set booking_type value if is missing
Diffstat (limited to 'app/controllers')
-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 b2ab0da..a9aeaf1 100644
--- a/app/controllers/resources/booking.php
+++ b/app/controllers/resources/booking.php
@@ -1533,7 +1533,7 @@ class Resources_BookingController extends AuthenticatedController
}
}
- $this->booking_type = $booking_type;
+ $this->booking_type = $booking_type ?: Request::int('booking_type');
$this->addEditHandler('add');
}