diff options
author | Aaron Piotrowski <aaron@trowski.com> | 2015-06-15 17:35:24 -0500 |
---|---|---|
committer | Aaron Piotrowski <aaron@trowski.com> | 2015-06-15 17:35:24 -0500 |
commit | 0265cf5aeb99b48e07ffa4d5a2a340d4545952a1 (patch) | |
tree | 77ddb37070c5c2c4e4c82ed6b2000ddbb14e18c5 /Zend | |
parent | 77cf6d81b46ef1378c9b431c17566c65deb7b79b (diff) | |
download | php-git-0265cf5aeb99b48e07ffa4d5a2a340d4545952a1.tar.gz |
Check for zend_ce_throwable instead
Diffstat (limited to 'Zend')
-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 1443afc3a2..08342e9050 100644 --- a/Zend/zend_exceptions.c +++ b/Zend/zend_exceptions.c @@ -926,7 +926,7 @@ ZEND_API void zend_exception_error(zend_object *ex, int severity) /* {{{ */ zend_string_release(file); zend_string_release(message); - } else if (instanceof_function(ce_exception, default_exception_ce) || instanceof_function(ce_exception, error_ce)) { + } else if (instanceof_function(ce_exception, zend_ce_throwable)) { zval tmp, rv; zend_string *str, *file = NULL; zend_long line = 0; |