From: Pierre Joye Date: Mon, 25 Apr 2011 09:31:00 +0000 (+0000) Subject: - keep node creation check X-Git-Tag: php-5.4.0alpha1~191^2~50 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b948b7d8eaf1458afe8cbdcd01d3b5e24625b7b2;p=php - keep node creation check --- diff --git a/ext/tidy/tidy.c b/ext/tidy/tidy.c index 3bc68ab659..f51f0b4579 100644 --- a/ext/tidy/tidy.c +++ b/ext/tidy/tidy.c @@ -987,7 +987,7 @@ static void php_tidy_create_node(INTERNAL_FUNCTION_PARAMETERS, tidy_base_nodetyp break; } - if (!inode) { + if (!node) { RETURN_NULL(); }