forked from mirrors/easyappointments
Fixed problem with appointment update and the check_datetime_availability method.
This commit is contained in:
parent
ba5ef4d326
commit
5896588abc
1 changed files with 1 additions and 2 deletions
|
@ -510,8 +510,7 @@ class Appointments extends CI_Controller {
|
|||
|
||||
$service_duration = $this->services_model->get_value('duration', $appointment['id_services']);
|
||||
|
||||
$exclude_appointments = (isset($appointment['appointment_id']))
|
||||
? array($appointment['appointment_id']) : array();
|
||||
$exclude_appointments = (isset($appointment['id'])) ? array($appointment['id']) : array();
|
||||
|
||||
$available_periods = $this->get_provider_available_time_periods(
|
||||
$appointment['id_users_provider'], date('Y-m-d', strtotime($appointment['start_datetime'])),
|
||||
|
|
Loading…
Reference in a new issue