From: Jani Taskinen Date: Tue, 11 Dec 2007 11:29:09 +0000 (+0000) Subject: MFH: fix error displaying X-Git-Tag: RELEASE_1_3_1~524 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b984960e81beeba3c7313b1e4b8f3c558d6d8a83;p=php MFH: fix error displaying --- diff --git a/ext/standard/html.c b/ext/standard/html.c index dbacf6bb13..feb5add121 100644 --- a/ext/standard/html.c +++ b/ext/standard/html.c @@ -1132,9 +1132,7 @@ PHPAPI char *php_escape_html_entities_ex(unsigned char *old, int oldlen, int *ne if(status == FAILURE) { /* invalid MB sequence */ efree(replaced); - if(!PG(display_errors)) { - php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid multibyte sequence in argument"); - } + php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid multibyte sequence in argument"); *newlen = 0; return STR_EMPTY_ALLOC(); }