diff --git a/application/controllers/Booking.php b/application/controllers/Booking.php index 5a1b0743..0c150e88 100755 --- a/application/controllers/Booking.php +++ b/application/controllers/Booking.php @@ -319,7 +319,7 @@ class Booking extends EA_Controller } if (!array_key_exists('phone_number', $customer)) { - $customer['address'] = ''; + $customer['phone_number'] = ''; } // Check appointment availability before registering it to the database.