1
0
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:
Stefan Esser
2003-03-12 12:00:22 +00:00
parent fa7dc03edb
commit 10fc5dd573
-8
View File
@@ -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)