Skip to content
Snippets Groups Projects
Commit 30c5623d authored by Alex Barth's avatar Alex Barth
Browse files

#878528 Sutharsan: Don't show file in UI if file does not exist.

parent 5a3bc9e1
No related branches found
No related tags found
No related merge requests found
......@@ -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.
......
......@@ -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'])),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment