From 81becb33e310142a91d1a03df6030bd4d90b88be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcos=20=27Marc=C3=A3o=27=20Aurelio?= Date: Wed, 3 Jan 2024 09:00:17 -0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Adding=20php56=20compatibility?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Cm/RedisSession/Handler.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Cm/RedisSession/Handler.php b/src/Cm/RedisSession/Handler.php index 6b275f9..816531d 100644 --- a/src/Cm/RedisSession/Handler.php +++ b/src/Cm/RedisSession/Handler.php @@ -512,7 +512,7 @@ public function read($sessionId) // Overloaded sessions get 503 errors $this->_redis->hIncrBy($sessionId, 'wait', -1); $this->_sessionWritten = true; // Prevent session from getting written - [$writes, $lockedRequestUrl] = $this->_redis->hMGet($sessionId, ['writes','req']); + list($writes, $lockedRequestUrl) = $this->_redis->hMGet($sessionId, ['writes','req']); $this->_log( sprintf( 'Session concurrency exceeded for ID %s; displaying HTTP 503 (%s waiting, %s total '