fix deprecations
This commit is contained in:
parent
102acd14f5
commit
10f55120eb
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue