cvs: php-src /ext/standard html.c

From: Date: Tue, 11 Dec 2007 11:28:43 +0000
Subject: cvs: php-src /ext/standard html.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-47443@lists.php.net to get a copy of this message
jani Tue Dec 11 11:28:43 2007 UTC Modified files: /php-src/ext/standard html.c Log: - Fix error display (Stas: PG(display_errors) is handled by the php_error_docref() function :) http://cvs.php.net/viewvc.cgi/php-src/ext/standard/html.c?r1=1.126&r2=1.127&diff_format=u Index: php-src/ext/standard/html.c diff -u php-src/ext/standard/html.c:1.126 php-src/ext/standard/html.c:1.127 --- php-src/ext/standard/html.c:1.126 Wed Oct 3 05:07:31 2007 +++ php-src/ext/standard/html.c Tue Dec 11 11:28:43 2007 @@ -18,7 +18,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: html.c,v 1.126 2007/10/03 05:07:31 stas Exp $ */ +/* $Id: html.c,v 1.127 2007/12/11 11:28:43 jani Exp $ */ /* * HTML entity resources: @@ -1135,9 +1135,7 @@ 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(); }

« previous php.cvs (#47443) next »