Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

MDL-34775 - Forum, RSS - Fixing RSS entries option to be disabled if …

…RSS is not enabled
  • Loading branch information...
commit ab882a67c6e049415cedfb715eed2db9c7d1c77c 1 parent a09484c
@deraadt deraadt authored jsnfwlr committed
Showing with 1 addition and 0 deletions.
  1. +1 −0  mod/forum/mod_form.php
View
1  mod/forum/mod_form.php
@@ -108,6 +108,7 @@ function definition() {
$choices[50] = '50';
$mform->addElement('select', 'rssarticles', get_string('rssarticles'), $choices);
$mform->addHelpButton('rssarticles', 'rssarticles', 'forum');
+ $mform->disabledIf('rssarticles', 'rsstype', 'eq', '0');
}
//-------------------------------------------------------------------------------
Please sign in to comment.
Something went wrong with that request. Please try again.