This commit is contained in:
Ilia Alshanetsky 2003-06-16 19:24:56 +00:00
parent 730ce7b06f
commit e40142047b

View File

@ -75,6 +75,8 @@ PHPAPI void php_register_variable_ex(char *var, zval *val, pval *track_vars_arra
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 */