diff options
author | Stanislav Malyshev <stas@php.net> | 2009-07-07 21:25:46 +0000 |
---|---|---|
committer | Stanislav Malyshev <stas@php.net> | 2009-07-07 21:25:46 +0000 |
commit | e865c0b4ee31ebdb01504f886910579ba9777860 (patch) | |
tree | 10dd1c4c02cd33271ae54c4ed436e67d3000ab0a /ext/intl/intl_error.c | |
parent | 87f9d62861d39b4feaa1ffcbbb5eaa95b3fb71b9 (diff) | |
download | php-git-e865c0b4ee31ebdb01504f886910579ba9777860.tar.gz |
merge errors support
Diffstat (limited to 'ext/intl/intl_error.c')
-rwxr-xr-x | ext/intl/intl_error.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/intl/intl_error.c b/ext/intl/intl_error.c index 44f668b195..79ae153bbe 100755 --- a/ext/intl/intl_error.c +++ b/ext/intl/intl_error.c @@ -103,6 +103,9 @@ void intl_error_set_custom_msg( intl_error* err, char* msg, int copyMsg TSRMLS_D if( !msg ) return; + if(!err && INTL_G(error_level)) { + php_error_docref(NULL TSRMLS_CC, INTL_G(error_level), "%s", msg); + } if( !err && !( err = intl_g_error_get( TSRMLS_C ) ) ) return; |