summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/iconv/iconv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/iconv/iconv.c b/ext/iconv/iconv.c
index 40573f47f5..a5cc9b31b0 100644
--- a/ext/iconv/iconv.c
+++ b/ext/iconv/iconv.c
@@ -2278,7 +2278,7 @@ PHP_FUNCTION(ob_iconv_handler)
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "zl", &zv_string, &status) == FAILURE)
return;
- convert_to_string_ex(&zv_string);
+ convert_to_string(zv_string);
if (SG(sapi_headers).mimetype &&
strncasecmp(SG(sapi_headers).mimetype, "text/", 5) == 0) {