From 882bd652df5e7a92fabec13ec53d7037645b4f1b Mon Sep 17 00:00:00 2001 From: Jani Taskinen Date: Tue, 11 Dec 2007 11:29:37 +0000 Subject: [PATCH] MFH: fix error displaying --- ext/standard/html.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/ext/standard/html.c b/ext/standard/html.c index 0a93757e18..955d468e99 100644 --- a/ext/standard/html.c +++ b/ext/standard/html.c @@ -1136,9 +1136,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(); } -- 2.50.1