From 8fba1d9a2f4e8da02f34c49d8bc4ec53c19bf2b8 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Wed, 19 Jan 2022 20:16:11 +0200 Subject: [PATCH] do NOT handle / redirect for not found eT2 session in ajax_destroy_session() as it's called, when the session is no longer needed --- api/src/Etemplate.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/src/Etemplate.php b/api/src/Etemplate.php index 4b6b0cfde2..6fa616e6e0 100644 --- a/api/src/Etemplate.php +++ b/api/src/Etemplate.php @@ -459,7 +459,7 @@ class Etemplate extends Etemplate\Widget\Template static public function ajax_destroy_session($_exec_id) { //error_log(__METHOD__."('$_exec_id')"); - if (($request = Etemplate\Request::read($_exec_id))) + if (($request = Etemplate\Request::read($_exec_id, false))) { $request->remove_if_not_modified(); unset($request);