mirror of
https://github.com/php/php-src.git
synced 2026-04-24 08:28:26 +02:00
reverting half the patch (it is not that simple)
This commit is contained in:
@@ -579,14 +579,6 @@ static void php_error_cb(int type, const char *error_filename, const uint error_
|
||||
TSRMLS_FETCH();
|
||||
|
||||
buffer_len = vspprintf(&buffer, PG(log_errors_max_len), format, args);
|
||||
if (PG(html_errors)) {
|
||||
int len;
|
||||
char *replace = php_escape_html_entities(buffer, buffer_len, &len, 0, ENT_COMPAT, NULL TSRMLS_CC);
|
||||
efree(buffer);
|
||||
buffer = replace;
|
||||
buffer_len = len;
|
||||
}
|
||||
|
||||
if (PG(ignore_repeated_errors)) {
|
||||
if (strncmp(last_error.buf, buffer, sizeof(last_error.buf))
|
||||
|| (!PG(ignore_repeated_source)
|
||||
|
||||
Reference in New Issue
Block a user