Browse files

minor bug fix where random memory was being spit out as an arg on a url

  • Loading branch information...
1 parent a2714c1 commit c7726acc744c21989b1293e692b95d2e27165046 dhawes committed May 27, 2005
Showing with 5 additions and 1 deletion.
  1. +5 −1 blocks/rss_client/config_global.html
View
6 blocks/rss_client/config_global.html
@@ -63,6 +63,10 @@
</tr>
<tr>
- <td colspan="3" align="center"><a href=" <?php echo $CFG->wwwroot; ?>/blocks/rss_client/block_rss_client_action.php?courseid=<?php echo $courseid; ?>"><?php print_string('feedsaddedit', 'block_rss_client')?></a></center><br /><br />
+ <td colspan="3" align="center"><a href=" <?php echo $CFG->wwwroot; ?>/blocks/rss_client/block_rss_client_action.php?courseid=<?php
+ if (!isset($courseid)) {
+ $courseid = '';
+ }
+ echo $courseid; ?>"><?php print_string('feedsaddedit', 'block_rss_client')?></a></center><br /><br />
</td>
</table>

0 comments on commit c7726ac

Please sign in to comment.