diff options
author | Andrey Hristov <andrey@php.net> | 1999-09-12 00:07:10 +0000 |
---|---|---|
committer | Andrey Hristov <andrey@php.net> | 1999-09-12 00:07:10 +0000 |
commit | 0ac98aa95aa85a4fa359e4010d05e23fd5388e45 (patch) | |
tree | f0c36b762021fecd7e7c8c4b31dc96fb29fae739 | |
parent | 0c3ada7dd4ebd752b020f8cd5d949a4d915518d1 (diff) | |
download | php-git-0ac98aa95aa85a4fa359e4010d05e23fd5388e45.tar.gz |
Use global symbol table instead..
-rw-r--r-- | ext/session/session.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/session/session.c b/ext/session/session.c index 36957c1340..5275dc7b7a 100644 --- a/ext/session/session.c +++ b/ext/session/session.c @@ -786,9 +786,9 @@ PHP_FUNCTION(session_unset) for(zend_hash_internal_pointer_reset(&PS(vars)); zend_hash_get_current_key(&PS(vars), &variable, NULL) == HASH_KEY_IS_STRING; zend_hash_move_forward(&PS(vars))) { - if(zend_hash_find(EG(active_symbol_table), variable, strlen(variable) + 1, (void **) &tmp) + if(zend_hash_find(&EG(symbol_table), variable, strlen(variable) + 1, (void **) &tmp) == SUCCESS) { - zend_hash_del(EG(active_symbol_table), variable, strlen(variable) + 1); + zend_hash_del(&EG(symbol_table), variable, strlen(variable) + 1); } } } |