diff options
author | Bob Weinand <bobwei9@hotmail.com> | 2015-08-18 13:59:37 +0200 |
---|---|---|
committer | Bob Weinand <bobwei9@hotmail.com> | 2015-08-18 14:01:18 +0200 |
commit | 501407aa49e4c664381b9849b8385d6ab390b18d (patch) | |
tree | 724bcdc43a3db91495d857773ba81040010d5531 /Zend/zend_exceptions.c | |
parent | 1b5e87a579080da1452e173981b7d8a6814f15c0 (diff) | |
download | php-git-501407aa49e4c664381b9849b8385d6ab390b18d.tar.gz |
Revert fix for nicer truncation on log_errors_max_len
Diffstat (limited to 'Zend/zend_exceptions.c')
-rw-r--r-- | Zend/zend_exceptions.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_exceptions.c b/Zend/zend_exceptions.c index 3af0b5ac07..ab0fc73c81 100644 --- a/Zend/zend_exceptions.c +++ b/Zend/zend_exceptions.c @@ -1037,7 +1037,7 @@ ZEND_API void zend_exception_error(zend_object *ex, int severity) /* {{{ */ line = zval_get_long(GET_PROPERTY_SILENT(&exception, "line")); zend_error_va(severity, (file && ZSTR_LEN(file) > 0) ? ZSTR_VAL(file) : NULL, line, - "Uncaught %.*s\n thrown", PG(log_errors_max_len) ? MIN(ZSTR_LEN(str), MAX(PG(log_errors_max_len) - 18, 0)) : ZSTR_LEN(str), ZSTR_VAL(str)); + "Uncaught %s\n thrown", ZSTR_VAL(str)); zend_string_release(str); zend_string_release(file); |