From 7a7c04ccc8491cc634ddefa8bc6b73c869eb0cfb Mon Sep 17 00:00:00 2001 From: ralf Date: Tue, 25 Jul 2023 11:37:37 +0200 Subject: [PATCH] for api.queue close session to NOT block other requests (api.queue should NOT be used for changing something in session) --- api/src/Json/Request.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/api/src/Json/Request.php b/api/src/Json/Request.php index f8225c16b4..381df57924 100644 --- a/api/src/Json/Request.php +++ b/api/src/Json/Request.php @@ -88,6 +88,8 @@ class Request // do we have a single request or an array of queued requests if ($menuaction == 'api.queue') { + // close session to NOT block other requests (api.queue should NOT be used for changing something in session) + $GLOBALS['egw']->session->commit_session(); $responses = array(); $response = Response::get(); foreach($parameters[0] as $uid => $data)