X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Finvite.php;h=84426c57848329eb973ffa4cf41f290c7d64cde2;hb=071b1c038addc94178eff22a47f0bf126b4a9d28;hp=4f7abf36a35314e5593e8b9096bd4c0afa8023fd;hpb=acb4630eed14175ef35f09e21609d6329f3f990c;p=friendica.git diff --git a/mod/invite.php b/mod/invite.php index 4f7abf36a3..84426c5784 100644 --- a/mod/invite.php +++ b/mod/invite.php @@ -1,18 +1,15 @@ user['email'] . "\n" . 'Content-type: text/plain; charset=UTF-8' . "\n" @@ -139,7 +136,7 @@ function invite_content(App $a) { } } - $o = replace_macros($tpl, array( + $o = replace_macros($tpl, [ '$form_security_token' => get_form_security_token("send_invite"), '$invite' => t('Send invitations'), '$addr_text' => t('Enter email addresses, one per line:'), @@ -150,7 +147,7 @@ function invite_content(App $a) { . "\r\n" . "\r\n" . System::baseUrl() . '/profile/' . $a->user['nickname'] . "\r\n" . "\r\n" . t('For more information about the Friendica project and why we feel it is important, please visit http://friendi.ca') . "\r\n" . "\r\n" , '$submit' => t('Submit') - )); + ]); return $o; }