From b800cf239ddcaf79708a1782c84ad71436a1e4ff Mon Sep 17 00:00:00 2001 From: Alex Tselegidis Date: Mon, 3 Jun 2024 19:39:40 +0200 Subject: [PATCH] Correct dest_url value --- application/controllers/Calendar.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/application/controllers/Calendar.php b/application/controllers/Calendar.php index 3675e235..250957bc 100644 --- a/application/controllers/Calendar.php +++ b/application/controllers/Calendar.php @@ -99,7 +99,9 @@ class Calendar extends EA_Controller */ public function index(string $appointment_hash = ''): void { - session(['dest_url' => site_url('backend/index' . (!empty($appointment_hash) ? '/' . $appointment_hash : ''))]); + session([ + 'dest_url' => site_url('calendar/index' . (!empty($appointment_hash) ? '/' . $appointment_hash : '')), + ]); $user_id = session('user_id');