aboutsummaryrefslogtreecommitdiff
path: root/actions
diff options
context:
space:
mode:
Diffstat (limited to 'actions')
-rw-r--r--actions/simplepie/save_group_feed.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/simplepie/save_group_feed.php b/actions/simplepie/save_group_feed.php
index 556372f98..830861612 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 (!$group || !$group->canEdit() || !elgg_instanceof($group, 'group')) {
+if (!elgg_instanceof($group, 'group') || !group->canEdit()) {
forward(REFERER);
}
$group->feed_url = $feed_url;