From 10f55120ebd296f692091130fb8e7f164c936683 Mon Sep 17 00:00:00 2001 From: Ortwin Pinke Date: Fri, 16 Dec 2022 18:29:44 +0100 Subject: [PATCH] fix deprecations --- conlib/session.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conlib/session.inc b/conlib/session.inc index a6b6a14..e51a760 100644 --- a/conlib/session.inc +++ b/conlib/session.inc @@ -318,7 +318,7 @@ class cSession { break; case "object": ## $$var is an object. Enumerate the slots and serialize them. - eval("\$k = \$${var}->classname; \$l = reset(\$${var}->persistent_slots);"); + eval("\$k = \${$var}->classname; \$l = reset(\$${var}->persistent_slots);"); $str.="\$$var = new $k; "; while ($l) { ## Structural recursion.