From 7e98507e862044548e0858a26a9e1b8f6f1f996f Mon Sep 17 00:00:00 2001 From: Oldperl <44996956+oldperl@users.noreply.github.com> Date: Mon, 19 Aug 2019 03:12:10 +0000 Subject: [PATCH] fixes PHP 7.3 --- conlib/session.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conlib/session.inc b/conlib/session.inc index 1c24dcf..a6b6a14 100644 --- a/conlib/session.inc +++ b/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]);