From: Thies C. Arntzen Date: Mon, 11 Dec 2000 12:52:52 +0000 (+0000) Subject: fix #6348 X-Git-Tag: php-4.0.5RC1~934 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=889b717a4c03c5b3bb9a7a27746c39de3ab0559f;p=php fix #6348 --- diff --git a/ext/standard/var.c b/ext/standard/var.c index 7c9f4d9044..3fb3f2fb25 100644 --- a/ext/standard/var.c +++ b/ext/standard/var.c @@ -16,7 +16,7 @@ | Thies C. Arntzen | | Sascha Schumann | +----------------------------------------------------------------------+ - */ +*/ /* $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); } }