blocks/rss_client MDL-25869 Prevent sharing id
authorDan Poltawski <dan.poltawski@luns.net.uk>
Sat, 8 Jan 2011 00:13:33 +0000 (00:13 +0000)
committerDan Poltawski <dan.poltawski@luns.net.uk>
Sat, 8 Jan 2011 00:17:33 +0000 (00:17 +0000)
The form was generating an element id of "header", causing theme
breakage

blocks/rss_client/editfeed.php

index b031455..38eeb48 100644 (file)
@@ -44,7 +44,7 @@ class feed_edit_form extends moodleform {
         $mform =& $this->_form;
 
         // Then show the fields about where this block appears.
-        $mform->addElement('header', 'header', get_string('feed', 'block_rss_client'));
+        $mform->addElement('header', 'rsseditfeedheader', get_string('feed', 'block_rss_client'));
 
         $mform->addElement('text', 'url', get_string('feedurl', 'block_rss_client'), array('size' => 60));
         $mform->setType('url', PARAM_URL);