From: Pierre Joye Date: Mon, 25 Apr 2011 09:31:00 +0000 (+0000) Subject: - keep node creation check X-Git-Tag: php-5.3.7RC1~165 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2d0ab7c98b297a5abee2452da255dc2ceb10133a;p=php - keep node creation check --- diff --git a/ext/tidy/tidy.c b/ext/tidy/tidy.c index 5454308196..9a2fb82627 100644 --- a/ext/tidy/tidy.c +++ b/ext/tidy/tidy.c @@ -991,7 +991,7 @@ static void php_tidy_create_node(INTERNAL_FUNCTION_PARAMETERS, tidy_base_nodetyp break; } - if (!inode) { + if (!node) { RETURN_NULL(); }