diff --git a/app/controllers/resources/booking.php b/app/controllers/resources/booking.php
index 0e09d8c73fa18983a46c67cc946f143208c79b6d..294aeaa6aa101072c4bfaae5f4831e2c0ca603fc 100644
--- a/app/controllers/resources/booking.php
+++ b/app/controllers/resources/booking.php
@@ -1149,7 +1149,7 @@ class Resources_BookingController extends AuthenticatedController
 
             //Validation:
 
-            if (!in_aray($this->booking_type, [
+            if (!in_array($this->booking_type, [
                 ResourceBooking::TYPE_NORMAL,
                 ResourceBooking::TYPE_RESERVATION,
                 ResourceBooking::TYPE_LOCK,