diff options
| author | Murtaza Sultani <sultani@data-quest.de> | 2025-05-08 15:02:09 +0200 |
|---|---|---|
| committer | Murtaza Sultani <sultani@data-quest.de> | 2025-05-08 15:02:09 +0200 |
| commit | 0ec8850969175e6ed7fc8e5e3c451668620252b3 (patch) | |
| tree | ac621c904c71ba9988805e96a34b2bcecc43c0d9 /app/controllers/resources | |
| parent | eb729ae22a46146b74c2b92920087bec765211ac (diff) | |
Set booking_type value if is missing
Diffstat (limited to 'app/controllers/resources')
| -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 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'); } |
