aboutsummaryrefslogtreecommitdiffstats
path: root/mod/invite.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/invite.php')
-rw-r--r--mod/invite.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/invite.php b/mod/invite.php
index efe0a59b1..3f9efc574 100644
--- a/mod/invite.php
+++ b/mod/invite.php
@@ -42,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'),