X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Finvite.php;h=3f9efc57427a5a881fee5fe5fa22ceed718e6b57;hb=b41218ca303b9fd8258fd613915d3c4b9fd411c0;hp=c63eb568bda50eaaa34d99fc62182fddcd4b4f39;hpb=7feed93a560182d80a5305650b016bc1b2db7542;p=friendica.git diff --git a/mod/invite.php b/mod/invite.php index c63eb568bd..3f9efc5742 100644 --- a/mod/invite.php +++ b/mod/invite.php @@ -32,9 +32,7 @@ function invite_post(&$a) { } notice( $total . t(' messages sent.') . EOL); - - - + return; } @@ -44,7 +42,7 @@ function invite_content(&$a) { return; } - $tpl = file_get_contents('view/invite.tpl'); + $tpl = load_view_file('view/invite.tpl'); $o = replace_macros($tpl, array( '$invite' => t('Send invitations'), @@ -58,6 +56,4 @@ function invite_content(&$a) { )); return $o; - - } \ No newline at end of file