summaryrefslogtreecommitdiff
path: root/ext/dom/comment.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/dom/comment.c')
-rw-r--r--ext/dom/comment.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/dom/comment.c b/ext/dom/comment.c
index c4b488888d..d415e0139a 100644
--- a/ext/dom/comment.c
+++ b/ext/dom/comment.c
@@ -58,7 +58,7 @@ PHP_METHOD(domcomment, __construct)
if (!nodep) {
php_dom_throw_error(INVALID_STATE_ERR, 1);
- RETURN_FALSE;
+ return;
}
intern = Z_DOMOBJ_P(ZEND_THIS);