Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

MDL-30536 Choice - remove setType so that validation works when JS is…

… disabled
  • Loading branch information...
commit ea3c021a86b14a383ea92a1f9546917ed9f11be7 1 parent 8eaf6d6
@danmarsden danmarsden authored samhemelryk committed
Showing with 0 additions and 1 deletion.
  1. +0 −1  mod/choice/mod_form.php
View
1  mod/choice/mod_form.php
@@ -50,7 +50,6 @@ function definition() {
$repeateloptions['limit']['default'] = 0;
$repeateloptions['limit']['disabledif'] = array('limitanswers', 'eq', 0);
$repeateloptions['limit']['rule'] = 'numeric';
- $mform->setType('limit', PARAM_INT);
$repeateloptions['option']['helpbutton'] = array('choiceoptions', 'choice');
$mform->setType('option', PARAM_CLEANHTML);
Please sign in to comment.
Something went wrong with that request. Please try again.