diff options
Diffstat (limited to 'mod/messages/views')
-rw-r--r-- | mod/messages/views/default/forms/messages/send.php | 6 | ||||
-rw-r--r-- | mod/messages/views/default/object/messages.php | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/mod/messages/views/default/forms/messages/send.php b/mod/messages/views/default/forms/messages/send.php index 3ddb25fd9..31918b314 100644 --- a/mod/messages/views/default/forms/messages/send.php +++ b/mod/messages/views/default/forms/messages/send.php @@ -6,9 +6,9 @@ * @uses $vars['friends'] */ -$recipient_guid = elgg_get_array_value('recipient_guid', $vars, 0); -$subject = elgg_get_array_value('subject', $vars, ''); -$body = elgg_get_array_value('body', $vars, ''); +$recipient_guid = elgg_extract('recipient_guid', $vars, 0); +$subject = elgg_extract('subject', $vars, ''); +$body = elgg_extract('body', $vars, ''); $recipients_options = array(); foreach ($vars['friends'] as $friend) { diff --git a/mod/messages/views/default/object/messages.php b/mod/messages/views/default/object/messages.php index 9aae6b7a8..e000601f9 100644 --- a/mod/messages/views/default/object/messages.php +++ b/mod/messages/views/default/object/messages.php @@ -5,8 +5,8 @@ * @package ElggFile */ -$full = elgg_get_array_value('full', $vars, false); -$message = elgg_get_array_value('entity', $vars, false); +$full = elgg_extract('full', $vars, false); +$message = elgg_extract('entity', $vars, false); if (!$message) { return true; |