]> git.mjollnir.org Git - moodle.git/commitdiff
blocks/rss_client: MDL-13932: viewfeed.php typo
authorpoltawski <poltawski>
Fri, 31 Jul 2009 21:20:21 +0000 (21:20 +0000)
committerpoltawski <poltawski>
Fri, 31 Jul 2009 21:20:21 +0000 (21:20 +0000)
link -> description

blocks/rss_client/viewfeed.php

index 55e1bbcc93e367e54e21e595f1c432b8f9942eea..51f161c0da331fc67ae39de2f08ca77bbf27dcda 100644 (file)
@@ -101,7 +101,7 @@ echo '<table align="center" width="50%" cellspacing="1">'."\n";
 echo '<tr><td colspan="2"><strong>'. $feedtitle .'</strong></td></tr>'."\n";
 foreach ($rss->get_items() as $item) {
     echo '<tr><td valign="middle">'."\n";
-    echo '<a href="'. $item->get_description() .'" target="_blank"><strong>'. $item->get_title();
+    echo '<a href="'. $item->get_link() .'" target="_blank"><strong>'. $item->get_title();
     echo '</strong></a>'."\n";
     echo '</td>'."\n";
     echo '</tr>'."\n";