aboutsummaryrefslogtreecommitdiff
path: root/mod/messages
diff options
context:
space:
mode:
authorcash <cash.costello@gmail.com>2011-07-02 10:04:24 -0400
committercash <cash.costello@gmail.com>2011-07-02 10:04:24 -0400
commit44fe4374af3550676d08320927bf4824bbd43441 (patch)
tree6ef78299af0816a32a05af7ca345a732c3e5482c /mod/messages
parentba7ec8e256095281099af35fb79b832051c612e6 (diff)
downloadelgg-44fe4374af3550676d08320927bf4824bbd43441.tar.gz
elgg-44fe4374af3550676d08320927bf4824bbd43441.tar.bz2
fixed messages and file plugins for #3544
Diffstat (limited to 'mod/messages')
-rw-r--r--mod/messages/pages/messages/send.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/messages/pages/messages/send.php b/mod/messages/pages/messages/send.php
index 02d430df7..1b821d185 100644
--- a/mod/messages/pages/messages/send.php
+++ b/mod/messages/pages/messages/send.php
@@ -14,7 +14,7 @@ $title = elgg_echo('messages:add');
elgg_push_breadcrumb($title);
-$params = messages_prepare_form_vars(get_input('send_to'));
+$params = messages_prepare_form_vars((int)get_input('send_to'));
$params['friends'] = $page_owner->getFriends();
$content = elgg_view_form('messages/send', array(), $params);