nlopess Thu Sep 20 22:44:18 2007 UTC Modified files: /php-src/ext/tidy tidy.c Log: oops.. thats what you get for commiting code without compiling nor testing.. http://cvs.php.net/viewvc.cgi/php-src/ext/tidy/tidy.c?r1=1.114&r2=1.115&diff_format=u Index: php-src/ext/tidy/tidy.c diff -u php-src/ext/tidy/tidy.c:1.114 php-src/ext/tidy/tidy.c:1.115 --- php-src/ext/tidy/tidy.c:1.114 Thu Sep 20 22:30:48 2007 +++ php-src/ext/tidy/tidy.c Thu Sep 20 22:44:17 2007 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: tidy.c,v 1.114 2007/09/20 22:30:48 nlopess Exp $ */ +/* $Id: tidy.c,v 1.115 2007/09/20 22:44:17 nlopess Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -932,8 +932,9 @@ 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++; @@ -1061,7 +1062,7 @@ php_info_print_table_start(); php_info_print_table_header(2, "Tidy support", "enabled"); php_info_print_table_row(2, "libTidy Release", (char *)tidyReleaseDate()); - php_info_print_table_row(2, "Extension Version", PHP_TIDY_MODULE_VERSION " ($Id: tidy.c,v 1.114 2007/09/20 22:30:48 nlopess Exp $)"); + php_info_print_table_row(2, "Extension Version", PHP_TIDY_MODULE_VERSION " ($Id: tidy.c,v 1.115 2007/09/20 22:44:17 nlopess Exp $)"); php_info_print_table_end(); DISPLAY_INI_ENTRIES();
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php