cvs: php4 /ext/standard var.c

From: Date: Mon, 06 Nov 2000 18:19:05 +0000
Subject: cvs: php4 /ext/standard var.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-2503@lists.php.net to get a copy of this message
stas Mon Nov 6 10:19:05 2000 EDT Modified files: /php4/ext/standard var.c Log: And now the right fix - should add it still Index: php4/ext/standard/var.c diff -u php4/ext/standard/var.c:1.78 php4/ext/standard/var.c:1.79 --- php4/ext/standard/var.c:1.78 Mon Nov 6 10:09:51 2000 +++ php4/ext/standard/var.c Mon Nov 6 10:19:05 2000 @@ -18,7 +18,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: var.c,v 1.78 2000/11/06 18:09:51 stas Exp $ */ +/* $Id: var.c,v 1.79 2000/11/06 18:19:05 stas Exp $ */ /* {{{ includes @@ -178,7 +178,7 @@ HashTable *myht; BLS_FETCH(); - if(var_hash != NULL && (*struc)->is_ref && php_add_var_hash(var_hash,*struc,(void *)&var_already) == FAILURE) { + if(var_hash != NULL && php_add_var_hash(var_hash,*struc,(void *)&var_already) == FAILURE && (*struc)->is_ref) { slen = sprintf(s,"R:%ld;",*var_already); STR_CAT(buf, s, slen); return;

« previous php.cvs (#2503) next »