From 3919b16f041a50ab279c02c5eabfa0483dbfb0d0 Mon Sep 17 00:00:00 2001 From: Etienne Kneuss Date: Wed, 19 Nov 2008 02:00:53 +0000 Subject: MFH: Fix #46241 (stacked error_handlers, error_handling in general) --- ext/dom/cdatasection.c | 1 + 1 file changed, 1 insertion(+) (limited to 'ext/dom/cdatasection.c') diff --git a/ext/dom/cdatasection.c b/ext/dom/cdatasection.c index c5ec09d97b..7ba228d39f 100644 --- a/ext/dom/cdatasection.c +++ b/ext/dom/cdatasection.c @@ -59,6 +59,7 @@ PHP_METHOD(domcdatasection, __construct) zend_replace_error_handling(EH_THROW, dom_domexception_class_entry, &error_handling TSRMLS_CC); if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "Os", &id, dom_cdatasection_class_entry, &value, &value_len) == FAILURE) { + zend_restore_error_handling(&error_handling TSRMLS_CC); return; } -- cgit v1.2.1