fix deprecations

This commit is contained in:
Ortwin Pinke 2022-12-16 18:29:44 +01:00
parent 102acd14f5
commit 10f55120eb

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.