diff --git a/application/controllers/Booking.php b/application/controllers/Booking.php index 9595b93f..45f1a345 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.