diff options
Diffstat (limited to 'mod/invite.php')
-rw-r--r-- | mod/invite.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/invite.php b/mod/invite.php index f5cf090e0..5eb5f6646 100644 --- a/mod/invite.php +++ b/mod/invite.php @@ -96,9 +96,9 @@ function invite_content(&$a) { $dirloc = get_config('system','directory_submit_url'); if(strlen($dirloc)) { - if($a->config['register_policy'] == REGISTER_CLOSED) + if($a->config['system']['register_policy'] == REGISTER_CLOSED) $linktxt = sprintf( t('Visit %s for a list of public sites that you can join. Friendica members on other sites can all connect with each other, as well as with members of many other social networks.'), dirname($dirloc) . '/siteinfo'); - elseif($a->config['register_policy'] != REGISTER_CLOSED) + elseif($a->config['system']['register_policy'] != REGISTER_CLOSED) $linktxt = sprintf( t('To accept this invitation, please visit and register at %s or any other public Friendica website.'), $a->get_baseurl()) . "\r\n" . "\r\n" . sprintf( t('Friendica sites all inter-connect to create a huge privacy-enhanced social web that is owned and controlled by its members. They can also connect with many traditional social networks. See %s for a list of alternate Friendica sites you can join.'),dirname($dirloc) . '/siteinfo'); } |