-
Bug
-
Resolution: Fixed
-
Minor
-
2.4.9, 2.5.5, 2.6.2, 2.7
-
MOODLE_24_STABLE, MOODLE_25_STABLE, MOODLE_26_STABLE, MOODLE_27_STABLE
-
MOODLE_25_STABLE, MOODLE_26_STABLE, MOODLE_27_STABLE
-
wip-
MDL-45483-master -
I have set the maximum number of attachments in a standard forum to 20, but it only allows 11 attachments.
It looks to be a basic error in the attachments dropdown code. Here's a snippet from the forum editing page:
<select name="maxattachments" id="id_maxattachments">
<option value="0">0</option>
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
<option value="6">6</option>
<option value="7">7</option>
<option value="8">8</option>
<option value="9">9</option>
<option value="10">10</option>
<option value="11" selected="selected">20</option>
<option value="12">50</option>
<option value="13">100</option>
</select>