diff options
author | Dmitry Stogov <dmitry@zend.com> | 2017-12-07 19:24:55 +0300 |
---|---|---|
committer | Dmitry Stogov <dmitry@zend.com> | 2017-12-07 19:24:55 +0300 |
commit | 6a9d2b2190923bfbc7b7caa1462ba95965a1b991 (patch) | |
tree | 26d1695b07a29a873e5fcd74cd4af47c89454f78 /ext/iconv/iconv.c | |
parent | c890d469fab27500f0fa1070dccb16b36aa8be76 (diff) | |
download | php-git-6a9d2b2190923bfbc7b7caa1462ba95965a1b991.tar.gz |
Cleanup type conversion
Diffstat (limited to 'ext/iconv/iconv.c')
-rw-r--r-- | ext/iconv/iconv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/iconv/iconv.c b/ext/iconv/iconv.c index ad1dd1e443..c8aa7fcd12 100644 --- a/ext/iconv/iconv.c +++ b/ext/iconv/iconv.c @@ -2271,7 +2271,7 @@ PHP_FUNCTION(iconv_mime_encode) if ((pzval = zend_hash_str_find(Z_ARRVAL_P(pref), "line-break-chars", sizeof("line-break-chars") - 1)) != NULL) { if (Z_TYPE_P(pzval) != IS_STRING) { - tmp_str = zval_get_string(pzval); + tmp_str = zval_get_string_func(pzval); lfchars = ZSTR_VAL(tmp_str); } else { lfchars = Z_STRVAL_P(pzval); |