chregu Mon Sep 9 16:32:49 2002 EDT Modified files: /php4/ext/domxml php_domxml.c Log: chregu: Can you please use the new php_error_docref in new code? Index: php4/ext/domxml/php_domxml.c diff -u php4/ext/domxml/php_domxml.c:1.210 php4/ext/domxml/php_domxml.c:1.211 --- php4/ext/domxml/php_domxml.c:1.210 Mon Sep 9 16:21:31 2002 +++ php4/ext/domxml/php_domxml.c Mon Sep 9 16:32:49 2002 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: php_domxml.c,v 1.210 2002/09/09 20:21:31 chregu Exp $ */ +/* $Id: php_domxml.c,v 1.211 2002/09/09 20:32:49 chregu Exp $ */ /* TODO * - Support Notation Nodes @@ -2377,7 +2377,7 @@ } 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; }
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php