From ee1d07f9fe0828e0b1b7079e729872c985b5261a Mon Sep 17 00:00:00 2001 From: Thomas Ingles Date: Wed, 24 Apr 2024 13:29:10 +0200 Subject: [PATCH] Fix controller Booking : typo default phone_number --- application/controllers/Booking.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/controllers/Booking.php b/application/controllers/Booking.php index 5a1b07437..0c150e889 100755 --- a/application/controllers/Booking.php +++ b/application/controllers/Booking.php @@ -319,7 +319,7 @@ public function register() } if (!array_key_exists('phone_number', $customer)) { - $customer['address'] = ''; + $customer['phone_number'] = ''; } // Check appointment availability before registering it to the database.