mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
Merged from MOODLE_15_STABLE: Adding a length limit to input field in line with db field size
This commit is contained in:
parent
9e37f99896
commit
168d73d0bd
@ -158,7 +158,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
$table->data[] = array ($picture, fullname($teacher, true), $authority,
|
$table->data[] = array ($picture, fullname($teacher, true), $authority,
|
||||||
"<input type=\"text\" name=\"r$teacher->id\" value=\"$teacher->role\" size=\"30\" />",
|
"<input type=\"text\" name=\"r$teacher->id\" value=\"$teacher->role\" size=\"30\" maxlength=\"40\" />",
|
||||||
$editall, $removelink);
|
$editall, $removelink);
|
||||||
}
|
}
|
||||||
$teacherlist = implode(",",$teacherarray);
|
$teacherlist = implode(",",$teacherarray);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user