mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-11-25 09:23:08 +03:00
fix calendar table events for roles other than admin
This commit is contained in:
parent
33693af996
commit
95dfc866e1
1 changed files with 1 additions and 0 deletions
|
@ -88,6 +88,7 @@ class Backend_api extends EA_Controller {
|
||||||
$appointment['service'] = $this->services_model->get_row($appointment['id_services']);
|
$appointment['service'] = $this->services_model->get_row($appointment['id_services']);
|
||||||
$appointment['customer'] = $this->customers_model->get_row($appointment['id_users_customer']);
|
$appointment['customer'] = $this->customers_model->get_row($appointment['id_users_customer']);
|
||||||
}
|
}
|
||||||
|
unset ($appointment);
|
||||||
|
|
||||||
$user_id = $this->session->userdata('user_id');
|
$user_id = $this->session->userdata('user_id');
|
||||||
$role_slug = $this->session->userdata('role_slug');
|
$role_slug = $this->session->userdata('role_slug');
|
||||||
|
|
Loading…
Reference in a new issue