summaryrefslogtreecommitdiff
path: root/ext/dom/cdatasection.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/dom/cdatasection.c')
-rw-r--r--ext/dom/cdatasection.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/dom/cdatasection.c b/ext/dom/cdatasection.c
index b4d54365fe..d1fd90d84c 100644
--- a/ext/dom/cdatasection.c
+++ b/ext/dom/cdatasection.c
@@ -50,8 +50,8 @@ PHP_METHOD(domcdatasection, __construct)
char *value = NULL;
int value_len;
- php_set_error_handling(EH_THROW, dom_domexception_class_entry TSRMLS_CC);
- if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "Os", &id, dom_cdatasection_class_entry, &value, &value_len) == FAILURE) {
+ php_set_error_handling(EH_THROW, U_CLASS_ENTRY(dom_domexception_class_entry) TSRMLS_CC);
+ if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "Os", &id, U_CLASS_ENTRY(dom_cdatasection_class_entry), &value, &value_len) == FAILURE) {
php_std_error_handling();
return;
}