Merge branch 'master_MDL-30536' of git://github.com/danmarsden/moodle
authorSam Hemelryk <sam@moodle.com>
Wed, 7 Dec 2011 21:39:02 +0000 (10:39 +1300)
committerSam Hemelryk <sam@moodle.com>
Wed, 7 Dec 2011 21:39:02 +0000 (10:39 +1300)
mod/choice/mod_form.php

index 1a7ef12..afacc4a 100644 (file)
@@ -50,7 +50,6 @@ class mod_choice_mod_form extends moodleform_mod {
         $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);