From 95dfc866e1a49985a93253848e53933201b297e5 Mon Sep 17 00:00:00 2001 From: Winfried Mosler Date: Mon, 15 Mar 2021 13:00:29 +0100 Subject: [PATCH] fix calendar table events for roles other than admin --- application/controllers/Backend_api.php | 1 + 1 file changed, 1 insertion(+) diff --git a/application/controllers/Backend_api.php b/application/controllers/Backend_api.php index bef6e303..4abc641c 100755 --- a/application/controllers/Backend_api.php +++ b/application/controllers/Backend_api.php @@ -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');