From a09c6d3639981ccea205e6ec7f775566ab95e219 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 3e02146d74..62790b2068 100644 --- a/api/src/Etemplate.php +++ b/api/src/Etemplate.php @@ -465,7 +465,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);