Skip to content
Snippets Groups Projects
Commit 8c76e1dd authored by jesss's avatar jesss Committed by Megachriz
Browse files

Issue #2563865 by Anas_maw, jesss, MegaChriz: feeds_source return empty values when using views

parent 1b95f99b
No related branches found
No related tags found
No related merge requests found
......@@ -15,9 +15,8 @@ class feeds_views_handler_field_source extends views_handler_field {
if (isset($value['FeedsHTTPFetcher']['source'])) {
return check_url($value['FeedsHTTPFetcher']['source']);
}
elseif (isset($value['FeedsFileFetcher']['feeds_source'])) {
// @todo This is untested.
return $GLOBALS['base_url'] . '/' . check_plain($value['FeedsFileFetcher']['feeds_source']);
elseif (isset($value['FeedsFileFetcher']['source'])) {
return file_create_url($value['FeedsFileFetcher']['source']);
}
return '';
}
......
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