diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 63de8a104773f95bf2bb9189b36956354113aae6..6204d9104b754de6b6a71198fb2bcd79496f1c04 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -3,6 +3,7 @@ Feeds 6.x 1.0 XXXXXXXXXXXXXXXXXX -------------------------------- +- #878528 Sutharsan: Don't show file in UI if file does not exist. - #901798 alex_b: Fix time off in SitemapParser. - #885724 eliotttf: Avoid array_flip() on non scalars. - #885052 Hanno: Fix small typo in access rights. diff --git a/plugins/FeedsFileFetcher.inc b/plugins/FeedsFileFetcher.inc index 0ba80a9859c800d3ebd43917b72a5fced7ef4590..52ad362b07bade60407aa559b34f4474a60728b3 100644 --- a/plugins/FeedsFileFetcher.inc +++ b/plugins/FeedsFileFetcher.inc @@ -57,7 +57,7 @@ class FeedsFileFetcher extends FeedsFetcher { */ public function sourceForm($source_config) { $form = $info = array(); - if (!empty($source_config['source'])) { + if (!empty($source_config['source']) && file_exists($source_config['source'])) { $info = array( 'path' => $source_config['source'], 'size' => filesize(realpath($source_config['source'])),