Correct dest_url value

This commit is contained in:
Alex Tselegidis 2024-06-03 19:39:40 +02:00
parent 1b32f83818
commit b800cf239d

View file

@ -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');