cvs: /php4/ext/standard post.c
| From: | Zeev Suraski | Date: | Wed, 01 Dec 1999 20:43:27 +0000 |
| Subject: | cvs: /php4/ext/standard post.c | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-7194@lists.php.net to get a copy of this message | ||
zeev Wed Dec 1 15:43:27 1999 EDT
Modified files:
/php4/ext/standard post.c
Log:
Index: php4/ext/standard/post.c
diff -u php4/ext/standard/post.c:1.26 php4/ext/standard/post.c:1.27
--- php4/ext/standard/post.c:1.26 Fri Nov 26 08:34:31 1999
+++ php4/ext/standard/post.c Wed Dec 1 15:42:56 1999
@@ -293,10 +293,13 @@
}
}
- if (symtable2 && top_gpc_p) {
- zend_hash_update(symtable2, var, var_len+1, top_gpc_p, sizeof(zval *), NULL);
- (*top_gpc_p)->refcount++;
- }
+ if (top_gpc_p) {
+ (*top_gpc_p)->is_ref = 1;
+ if (symtable2) {
+ zend_hash_update(symtable2, var, var_len+1, top_gpc_p, sizeof(zval *), NULL);
+ (*top_gpc_p)->refcount++;
+ }
+ }
}