From e3944720b57a36e98ca9a8b3c1669dcab8b7edc7 Mon Sep 17 00:00:00 2001 From: Marcus Boerger Date: Sun, 13 Jul 2008 21:38:58 +0000 Subject: [PATCH] - Use new helper --- ext/spl/php_spl.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/ext/spl/php_spl.c b/ext/spl/php_spl.c index 6a3bd55aea..d2df6530ff 100755 --- a/ext/spl/php_spl.c +++ b/ext/spl/php_spl.c @@ -380,9 +380,7 @@ PHP_FUNCTION(spl_autoload_call) zend_hash_get_current_data_ex(SPL_G(autoload_functions), (void **) &alfi, &function_pos); zend_u_call_method(alfi->obj ? &alfi->obj : NULL, alfi->ce, &alfi->func_ptr, func_name_type, func_name, func_name_len, &retval, 1, zclass_name, NULL TSRMLS_CC); if (EG(exception)) { - if (exception) { - zend_update_property(zend_exception_get_default(TSRMLS_C), EG(exception), "previous", sizeof("previous")-1, exception TSRMLS_CC); - } + zend_exception_set_previous(exception TSRMLS_CC); exception = EG(exception); EG(exception) = NULL; } -- 2.50.1