Booking reschedule: Fixed manage mode getter
This commit is contained in:
parent
74df69b33a
commit
a5e9ed3e99
1 changed files with 1 additions and 1 deletions
|
@ -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))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue