Merge pull request #1511 from sudwebdesign/develop-app-controller-booking-customer_default-phone_number-fix

Fix typo : Develop App Controller Booking customer default phone number
This commit is contained in:
Alex Tselegidis 2024-04-26 16:50:47 +02:00 committed by GitHub
commit cc9a0515d2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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.