Commit f0389662 authored by Richard Mansfield's avatar Richard Mansfield
Browse files

Add a maximum length for private messages



Change-Id: Id45194b3fa0c27e20cccd46b0acc29aeb4c0ec48
Signed-off-by: default avatarRichard Mansfield <richard.mansfield@catalyst.net.nz>
parent e6144927
...@@ -84,6 +84,7 @@ $form = pieform(array( ...@@ -84,6 +84,7 @@ $form = pieform(array(
'title' => $messages ? get_string('Reply', 'group') : get_string('message'), 'title' => $messages ? get_string('Reply', 'group') : get_string('message'),
'cols' => 80, 'cols' => 80,
'rows' => 10, 'rows' => 10,
'rules' => array('maxlength' => 65536),
), ),
'goto' => array( 'goto' => array(
'type' => 'hidden', 'type' => 'hidden',
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment