username; } // input names => defaults $values = array( 'subject' => '', 'body' => '', 'recipient_username' => $recipient_username, ); if (elgg_is_sticky_form('messages')) { foreach (array_keys($values) as $field) { $values[$field] = elgg_get_sticky_value('messages', $field); } } elgg_clear_sticky_form('messages'); return $values; }