]> granicus.if.org Git - php/commitdiff
chregu: Can you please use the new php_error_docref in new code?
authorChristian Stocker <chregu@php.net>
Mon, 9 Sep 2002 20:32:49 +0000 (20:32 +0000)
committerChristian Stocker <chregu@php.net>
Mon, 9 Sep 2002 20:32:49 +0000 (20:32 +0000)
ext/domxml/php_domxml.c

index 7dee8c69b1aff3b3a85c19b6a8c86c82ff22cb81..ce98a315cc5b80a0b9dac4841d2d50a68004a962 100644 (file)
@@ -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;
        }