forked from mirrors/easyappointments
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['customer'] = $this->customers_model->get_row($appointment['id_users_customer']);
|
||||
}
|
||||
unset ($appointment);
|
||||
|
||||
$user_id = $this->session->userdata('user_id');
|
||||
$role_slug = $this->session->userdata('role_slug');
|
||||
|
|
Loading…
Reference in a new issue