cvs: php4(PHP_4_3) /main php_variables.c
| From: | Ilia Alshanetsky | Date: | Mon, 16 Jun 2003 19:25:06 +0000 |
| Subject: | cvs: php4(PHP_4_3) /main php_variables.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-21806@lists.php.net to get a copy of this message | ||
iliaa Mon Jun 16 15:25:06 2003 EDT
Modified files: (Branch: PHP_4_3)
/php4/main php_variables.c
Log:
MFH: Fixed bug #24208
Index: php4/main/php_variables.c
diff -u php4/main/php_variables.c:1.45.2.4 php4/main/php_variables.c:1.45.2.5
--- php4/main/php_variables.c:1.45.2.4 Sat Jun 14 11:08:37 2003
+++ php4/main/php_variables.c Mon Jun 16 15:25:06 2003
@@ -16,7 +16,7 @@
| Zeev Suraski <zeev@zend.com> |
+----------------------------------------------------------------------+
*/
-/* $Id: php_variables.c,v 1.45.2.4 2003/06/14 15:08:37 iliaa Exp $ */
+/* $Id: php_variables.c,v 1.45.2.5 2003/06/16 19:25:06 iliaa Exp $ */
#include <stdio.h>
#include "php.h"
@@ -71,6 +71,8 @@
if (track_vars_array) {
symtable1 = Z_ARRVAL_P(track_vars_array);
+ } else if (PG(register_globals)) {
+ symtable1 = EG(active_symbol_table);
}
if (!symtable1) {
/* Nothing to do */