aboutsummaryrefslogtreecommitdiff
path: root/mod/groups/views/default/group
diff options
context:
space:
mode:
Diffstat (limited to 'mod/groups/views/default/group')
-rw-r--r--mod/groups/views/default/group/default.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/groups/views/default/group/default.php b/mod/groups/views/default/group/default.php
index d025a894b..63e1e4226 100644
--- a/mod/groups/views/default/group/default.php
+++ b/mod/groups/views/default/group/default.php
@@ -25,7 +25,7 @@ $metadata = "<ul class=\"elgg-list-metadata\"><li>$mem</li>";
$metadata .= "<li>$num_members $members_string</li>";
// feature link
-if (isadminloggedin()) {
+if (elgg_is_admin_logged_in()) {
if ($group->featured_group == "yes") {
$url = "action/groups/featured?group_guid={$group->guid}&action_type=unfeature";
$wording = elgg_echo("groups:makeunfeatured");