cvs: php4(php_4_0_4) /ext/standard var.c

From: Date: Mon, 11 Dec 2000 12:55:17 +0000
Subject: cvs: php4(php_4_0_4) /ext/standard var.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-3068@lists.php.net to get a copy of this message
thies Mon Dec 11 04:55:17 2000 EDT Branch: php_4_0_4 Modified files: /php4/ext/standard var.c Log: fix #6348 Index: php4/ext/standard/var.c diff -u php4/ext/standard/var.c:1.80 php4/ext/standard/var.c:1.80.2.1 --- php4/ext/standard/var.c:1.80 Tue Nov 7 07:06:43 2000 +++ php4/ext/standard/var.c Mon Dec 11 04:55:17 2000 @@ -18,7 +18,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: var.c,v 1.80 2000/11/07 15:06:43 stas Exp $ */ +/* $Id: var.c,v 1.80.2.1 2000/12/11 12:55:17 thies Exp $ */ /* {{{ includes @@ -262,10 +262,9 @@ php_error(E_NOTICE, "__sleep should return an array only containing the names of instance-variables to serialize."); 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); } }

« previous php.cvs (#3068) next »