diff options
Diffstat (limited to 'mod/invitefriends/views/default')
-rw-r--r-- | mod/invitefriends/views/default/invitefriends/formitems.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/mod/invitefriends/views/default/invitefriends/formitems.php b/mod/invitefriends/views/default/invitefriends/formitems.php index c7af78981..555311dd0 100644 --- a/mod/invitefriends/views/default/invitefriends/formitems.php +++ b/mod/invitefriends/views/default/invitefriends/formitems.php @@ -6,10 +6,11 @@ * @package ElggInviteFriends */ -if ($CONFIG->allow_registration) { +if (elgg_get_config('allow_registration')) { + $site = elgg_get_site_entity(); $introduction = elgg_echo('invitefriends:introduction'); $message = elgg_echo('invitefriends:message'); - $default = elgg_echo('invitefriends:message:default', array($CONFIG->site->name)); + $default = elgg_echo('invitefriends:message:default', array($site->name)); echo <<< HTML <p class="margin-top"> |