mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-12-27 09:03:09 +03:00
Merge pull request #1330 from eerojaaskelainen/BookingRescheduleManageModeFix
Booking reschedule: Fixed manage mode getter
This commit is contained in:
commit
f68e475e27
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