This commit is contained in:
David Anderson 2016-07-30 16:42:38 -07:00
parent fb5b9d9a3c
commit a30b36e3f9
1 changed files with 1 additions and 1 deletions

View File

@ -110,7 +110,7 @@ function project_specific_prefs_default() {
function number_select($name, $max, $n) {
$sel = ($n == 0) ? "selected":"";
$x = "<select name=$name> <option value=0 $sel>".tra("No limit")."</option>";
for ($i=1; $i<$max; $i++) {
for ($i=1; $i<=$max; $i++) {
$sel = ($n == $i) ? "selected":"";
$x .= "<option value=$i $sel>$i</option>";
}