mirror of
https://github.com/bdnugget/php-src.git
synced 2026-11-26 10:25:41 +00:00
Fixed stream_filter_remove()
This commit is contained in:
1 parent
a7b33bb431
commit
e47c080ce8
1 file changed
+1
-1
@@ -1284,7 +1284,7 @@ PHP_FUNCTION(stream_filter_remove)
|
||||
RETURN_FALSE;
|
||||
}
|
||||
|
||||
if (zend_list_delete(Z_RES_P(zfilter)) == FAILURE) {
|
||||
if (zend_list_close(Z_RES_P(zfilter)) == FAILURE) {
|
||||
php_error_docref(NULL TSRMLS_CC, E_WARNING, "Could not invalidate filter, not removing");
|
||||
RETURN_FALSE;
|
||||
} else {
|
||||
|
||||
Reference in new issue
Block a user