iliaa           Mon Jun 16 15:24:56 2003 EDT

  Modified files:              
    /php4/main  php_variables.c 
  Log:
  Fixed bug #24208
  
  
Index: php4/main/php_variables.c
diff -u php4/main/php_variables.c:1.63 php4/main/php_variables.c:1.64
--- php4/main/php_variables.c:1.63      Sat Jun 14 11:08:27 2003
+++ php4/main/php_variables.c   Mon Jun 16 15:24:56 2003
@@ -17,7 +17,7 @@
    +----------------------------------------------------------------------+
  */
 
-/* $Id: php_variables.c,v 1.63 2003/06/14 15:08:27 iliaa Exp $ */
+/* $Id: php_variables.c,v 1.64 2003/06/16 19:24:56 iliaa Exp $ */
 
 #include <stdio.h>
 #include "php.h"
@@ -75,6 +75,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 */



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to