s/zend_hash_exists/zend_hash_find/

This commit is contained in:
Greg Beaver 2008-05-20 05:01:08 +00:00
parent ccf430ca93
commit a08acfb080

View file

@ -1915,7 +1915,7 @@ static zval *phar_rename_archive(phar_archive_data *phar, char *ext, zend_bool c
efree(basepath);
efree(newname);
if (SUCCESS == zend_hash_exists(&(PHAR_GLOBALS->phar_fname_map), newpath, phar->fname_len, (void **) &pphar)) {
if (SUCCESS == zend_hash_find(&(PHAR_GLOBALS->phar_fname_map), newpath, phar->fname_len, (void **) &pphar)) {
if (*pphar == phar) {
if (!zend_hash_num_elements(&phar->manifest)) {
goto its_ok;