From e621eb853e2888b90e0fec404c94dd9bd5e72f63 Mon Sep 17 00:00:00 2001 From: oldperl Date: Mon, 19 Aug 2019 03:12:10 +0000 Subject: [PATCH] fixes PHP 7.3 --- trunk/conlib/session.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trunk/conlib/session.inc b/trunk/conlib/session.inc index 1c24dcf..a6b6a14 100644 --- a/trunk/conlib/session.inc +++ b/trunk/conlib/session.inc @@ -94,7 +94,7 @@ class cSession { function unregister($things) { $things = explode(",", $things); reset($things); - while (list(, $thing) = each($things)) { + foreach ($things as $thing) { $thing = trim($thing); if ($thing) { unset($this->pt[$thing]);