mirror of
https://github.com/php/php-src.git
synced 2026-04-26 17:38:14 +02:00
fix #6348
This commit is contained in:
+2
-3
@@ -16,7 +16,7 @@
|
||||
| Thies C. Arntzen <thies@thieso.net> |
|
||||
| Sascha Schumann <sascha@schumann.cx> |
|
||||
+----------------------------------------------------------------------+
|
||||
*/
|
||||
*/
|
||||
|
||||
/* $Id$ */
|
||||
|
||||
@@ -263,9 +263,8 @@ void php_var_serialize(pval *buf, pval **struc, HashTable *var_hash)
|
||||
continue;
|
||||
}
|
||||
|
||||
php_var_serialize(buf, name, NULL);
|
||||
|
||||
if (zend_hash_find((*struc)->value.obj.properties,(*name)->value.str.val,(*name)->value.str.len+1,(void*)&d) == SUCCESS) {
|
||||
php_var_serialize(buf, name, NULL);
|
||||
php_var_serialize(buf,d,var_hash);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user