From a9a2dbd0ad7ba4374c03419fa56899c6f2c28051 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Mon, 27 Feb 2017 17:22:13 +0100 Subject: [PATCH] fix (unnecessary) storing rows into session It causes php-memcached session-handler to loose the session "error saving session to memcached" --- infolog/inc/class.infolog_ui.inc.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/infolog/inc/class.infolog_ui.inc.php b/infolog/inc/class.infolog_ui.inc.php index d2b56306b3..59f26402d5 100644 --- a/infolog/inc/class.infolog_ui.inc.php +++ b/infolog/inc/class.infolog_ui.inc.php @@ -316,6 +316,7 @@ class infolog_ui unset($query['col_filter']['parent_id']); if(!$query['action']) { + unset($query['rows']); Api\Cache::setSession('infolog', $query['session_for'].'session_data', $query); } $query['actions'] = $this->get_actions($query); @@ -855,6 +856,7 @@ class infolog_ui { unset($values['nm']['multi_action']); unset($values['nm']['action_id']); + unset($values['nm']['rows']); Api\Cache::setSession('infolog', $values['nm']['session_for'].'session_data', $values['nm']); $this->tmpl->location($own_referer); }