diff options
-rw-r--r-- | actions/simplepie/save_group_feed.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/simplepie/save_group_feed.php b/actions/simplepie/save_group_feed.php index 830861612..8dc2ffd78 100644 --- a/actions/simplepie/save_group_feed.php +++ b/actions/simplepie/save_group_feed.php @@ -8,7 +8,7 @@ if (!simplepie_is_url($feed_url)) { forward(REFERER); } -if (!elgg_instanceof($group, 'group') || !group->canEdit()) { +if (!elgg_instanceof($group, 'group') || !$group->canEdit()) { forward(REFERER); } $group->feed_url = $feed_url; |