fix deprecations

This commit is contained in:
Ortwin Pinke 2022-12-16 18:31:12 +01:00
parent 10f55120eb
commit 58b47350e1

View file

@ -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.