cvs: php4 /ext/dom text.c

From: Date: Wed, 11 Jun 2003 20:06:03 +0000
Subject: cvs: php4 /ext/dom text.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-21624@lists.php.net to get a copy of this message
rrichards Wed Jun 11 16:06:03 2003 EDT Modified files: /php4/ext/dom text.c Log: forgot this: set doc for new text node as current may not be in tree Index: php4/ext/dom/text.c diff -u php4/ext/dom/text.c:1.7 php4/ext/dom/text.c:1.8 --- php4/ext/dom/text.c:1.7 Wed Jun 11 15:55:52 2003 +++ php4/ext/dom/text.c Wed Jun 11 16:06:03 2003 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: text.c,v 1.7 2003/06/11 19:55:52 rrichards Exp $ */ +/* $Id: text.c,v 1.8 2003/06/11 20:06:03 rrichards Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -141,7 +141,7 @@ xmlFree(cur); xmlNodeSetContentLen(node, first, offset); - nnode = xmlNewText(second); + nnode = xmlNewDocText(node->doc, second); xmlFree(first); xmlFree(second);

« previous php.cvs (#21624) next »