diff --git a/include/zotfns.php b/include/zotfns.php index 1ec39aefc..b695b6fcb 100644 --- a/include/zotfns.php +++ b/include/zotfns.php @@ -1,5 +1,8 @@ $v) { diff --git a/mod/contacts.php b/mod/contacts.php index 388bf08e6..2fc01a0d8 100644 --- a/mod/contacts.php +++ b/mod/contacts.php @@ -13,7 +13,7 @@ function contacts_init(&$a) { $inv = ''; - if(get_config('system','invitations_only')) { + if(get_config('system','invitation_only')) { $x = get_pconfig(local_user(),'system','invites_remaining'); if($x || is_site_admin()) { $a->page['aside'] .= '
+{{ if $invitations }} + +

$invite_desc

+
+ + +
+
+ +{{ endif }} +