From c44448dd57683b29c3200d87d6274bf5dbe326e7 Mon Sep 17 00:00:00 2001 From: Michael Date: Fri, 8 Sep 2017 08:50:08 +0000 Subject: [PATCH] We should reset the session variable --- include/poller.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/poller.php b/include/poller.php index 9758ab9464..d43257fc9f 100644 --- a/include/poller.php +++ b/include/poller.php @@ -303,6 +303,9 @@ function poller_exec_function($queue, $funcname, $argv) { $up_duration = number_format(microtime(true) - $poller_up_start, 3); + // Reset global data to avoid interferences + unset($_SESSION); + $funcname($argv, $argc); $a->process_id = $old_process_id;