From 9ebeb89cb05f31016f0321e3f03ab6a11438016e 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 cc0fae4b..c67064d7 100755 --- a/application/controllers/Booking.php +++ b/application/controllers/Booking.php @@ -321,7 +321,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.