Commit d2368667 authored by Liam Stewart's avatar Liam Stewart Committed by Son Nguyen
Browse files

Friendship request character limit #1373670

Added a new array where variable 'maxlength' is equal to 255 characters in the requestfriendship.php file. You now cannot send friendship requests with messages over 255 characters long.

Change-Id: Ib13c65314964269c56e32dc206add85f7aaccb16
parent 02188a6b
......@@ -56,6 +56,10 @@ $form = pieform(array(
'labelescaped' => true,
'cols' => 50,
'rows' => 4,
'rules' => array(
'required' => true,
'maxlength' => 255,
),
),
'submit' => array(
'type' => 'submitcancel',
......
Markdown is supported
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