Booking reschedule: Fixed manage mode getter

This commit is contained in:
Eero Jääskeläinen 2022-11-28 13:19:47 +02:00
parent 74df69b33a
commit a5e9ed3e99

View file

@ -422,7 +422,7 @@ class Booking extends EA_Controller {
$captcha = request('captcha'); $captcha = request('captcha');
$appointment = $post_data['appointment']; $appointment = $post_data['appointment'];
$customer = $post_data['customer']; $customer = $post_data['customer'];
$manage_mode = ! empty($post_data['id']); $manage_mode = isset($post_data['manage_mode']) && $post_data['manage_mode'];
if ( ! array_key_exists('address', $customer)) if ( ! array_key_exists('address', $customer))
{ {