diff --git a/application/controllers/Booking.php b/application/controllers/Booking.php index 9595b93f8..45f1a3457 100755 --- a/application/controllers/Booking.php +++ b/application/controllers/Booking.php @@ -319,7 +319,7 @@ public function register(): void } if (!array_key_exists('phone_number', $customer)) { - $customer['address'] = ''; + $customer['phone_number'] = ''; } // Check appointment availability before registering it to the database.