diff options
Diffstat (limited to 'ext/domxml/php_domxml.c')
-rw-r--r-- | ext/domxml/php_domxml.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/domxml/php_domxml.c b/ext/domxml/php_domxml.c index 7dee8c69b1..ce98a315cc 100644 --- a/ext/domxml/php_domxml.c +++ b/ext/domxml/php_domxml.c @@ -2377,7 +2377,7 @@ PHP_FUNCTION(domxml_node_append_child) } if (!(child->doc == NULL || child->doc == parent->doc)) { - php_error(E_WARNING, "%s(): Can't append node, which is in a different document than the parent node", get_active_function_name(TSRMLS_C)); + php_error_docref("function.domnode-append-child" TSRMLS_CC, E_WARNING, "Can't append node, which is in a different document than the parent node"); RETURN_FALSE; } |