From 85bd7b9b38455d67d4beb00093c12fc84c58e7fc Mon Sep 17 00:00:00 2001 From: Alex Tselegidis Date: Sat, 6 Nov 2021 17:14:57 +0100 Subject: [PATCH] Renamed attach to load in Backend_api.php --- application/controllers/Backend_api.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/controllers/Backend_api.php b/application/controllers/Backend_api.php index 5f9cd4e7..36039a44 100755 --- a/application/controllers/Backend_api.php +++ b/application/controllers/Backend_api.php @@ -458,7 +458,7 @@ class Backend_api extends EA_Controller { foreach ($appointments as &$appointment) { - $this->appointments_model->attach($appointment, [ + $this->appointments_model->load($appointment, [ 'service', 'provider', ]);