Set the manage mode to TRUE if the appointment ID is set.
This commit is contained in:
parent
68d7ff1d5f
commit
378c5eaa25
1 changed files with 5 additions and 5 deletions
|
@ -361,9 +361,9 @@ class Booking extends EA_Controller {
|
|||
{
|
||||
$post_data = request('post_data');
|
||||
$captcha = request('captcha');
|
||||
$manage_mode = filter_var($post_data['manage_mode'], FILTER_VALIDATE_BOOLEAN);
|
||||
$appointment = $post_data['appointment'];
|
||||
$customer = $post_data['customer'];
|
||||
$manage_mode = ! empty($post_data['id']);
|
||||
|
||||
if ( ! array_key_exists('address', $customer))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue