From ab40c954fbfe4b094261f1f87a74d70d278dd00f Mon Sep 17 00:00:00 2001 From: Christian Stocker Date: Mon, 9 Sep 2002 20:32:49 +0000 Subject: [PATCH] chregu: Can you please use the new php_error_docref in new code? --- ext/domxml/php_domxml.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.40.0