mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-11-22 07:52:29 +03:00
Initialize unavailability array
This commit is contained in:
parent
d5d4893840
commit
f6ee08608a
1 changed files with 2 additions and 0 deletions
|
@ -215,6 +215,8 @@ class Backend_api extends EA_Controller {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Get unavailable periods (only for provider).
|
// Get unavailable periods (only for provider).
|
||||||
|
$response['unavailables'] = [];
|
||||||
|
|
||||||
if ($this->input->post('filter_type') == FILTER_TYPE_PROVIDER)
|
if ($this->input->post('filter_type') == FILTER_TYPE_PROVIDER)
|
||||||
{
|
{
|
||||||
$where_clause = $where_id . ' = ' . $record_id . '
|
$where_clause = $where_id . ' = ' . $record_id . '
|
||||||
|
|
Loading…
Reference in a new issue