diff options
Diffstat (limited to 'ext')
-rw-r--r-- | ext/tidy/tidy.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/tidy/tidy.c b/ext/tidy/tidy.c index 61ba2312dd..fa8d2fe16f 100644 --- a/ext/tidy/tidy.c +++ b/ext/tidy/tidy.c @@ -897,6 +897,7 @@ PHP_FUNCTION(tidy_parse_file) if (!(contents = php_tidy_file_to_mem(inputfile, use_include_path TSRMLS_CC))) { TIDY_THROW("Cannot Load '%s' into memory %s", inputfile, (use_include_path) ? "(Using include path)" : ""); + return; } TIDY_APPLY_CONFIG_ZVAL(obj->ptdoc->doc, options); |