mirror of
https://github.com/php/php-src.git
synced 2024-09-24 19:37:26 +00:00
And now the right fix - should add it still
This commit is contained in:
parent
7f1dc85574
commit
cde5c779dc
@ -178,7 +178,7 @@ void php_var_serialize(pval *buf, pval **struc, HashTable *var_hash)
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user