Browse files

fix for bug reported by Dan Marsden - feeds can be added again :)

  • Loading branch information...
1 parent c92a67d commit b2262aa90a25c5b6fcc39802d32c923ff12d1c7b dhawes committed Jan 23, 2005
Showing with 2 additions and 2 deletions.
  1. +2 −2 blocks/rss_client/block_rss_client_action.php
View
4 blocks/rss_client/block_rss_client_action.php
@@ -94,7 +94,7 @@
// error messages do not display and clutter up the moodle interface
// however, we do lose out on seeing helpful messages like "cache hit", etc.
ob_start();
- $rss = fetch_rss($rss_record->url);
+ $rss = fetch_rss($url);
$rsserror = ob_get_contents();
ob_end_clean();
@@ -152,7 +152,7 @@
// error messages do not display and clutter up the moodle interface
// however, we do lose out on seeing helpful messages like "cache hit", etc.
ob_start();
- $rss = fetch_rss($url);
+ $rss = fetch_rss($rss_record->url);
$rsserror = ob_get_contents();
ob_end_clean();

0 comments on commit b2262aa

Please sign in to comment.