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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/dom/cdatasection.c b/ext/dom/cdatasection.c
index 6af743e4e3..ed6df89cc2 100644
--- a/ext/dom/cdatasection.c
+++ b/ext/dom/cdatasection.c
@@ -58,7 +58,7 @@ PHP_METHOD(domcdatasection, __construct)
if (!nodep) {
php_dom_throw_error(INVALID_STATE_ERR, 1);
- RETURN_FALSE;
+ return;
}
intern = Z_DOMOBJ_P(ZEND_THIS);