From: Nuno Lopes Date: Thu, 20 Sep 2007 22:44:17 +0000 (+0000) Subject: oops.. thats what you get for commiting code without compiling nor testing.. X-Git-Tag: RELEASE_2_0_0a1~1776 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c5df1d867300913d7a79f2dd4a66404c388c5466;p=php oops.. thats what you get for commiting code without compiling nor testing.. --- diff --git a/ext/tidy/tidy.c b/ext/tidy/tidy.c index a4d11f33c4..83abefff5a 100644 --- a/ext/tidy/tidy.c +++ b/ext/tidy/tidy.c @@ -932,8 +932,9 @@ static void php_tidy_create_node(INTERNAL_FUNCTION_PARAMETERS, tidy_base_nodetyp tidy_instanciate(tidy_ce_node, return_value TSRMLS_CC); newobj = (PHPTidyObj *) zend_object_store_get_object(return_value TSRMLS_CC); - newobj->type = is_node; + newobj->type = is_node; newobj->ptdoc = obj->ptdoc; + newobj->node = node; newobj->ptdoc->ref_count++; newobj->converter = obj->converter; if (obj->converter) obj->converter->ref_count++;