diff options
author | capo <capo@riseup.net> | 2014-01-12 23:45:56 +0100 |
---|---|---|
committer | capo <capo@riseup.net> | 2014-01-12 23:45:56 +0100 |
commit | 86ddb910c0da573436f3f80e4718cdd37f9f3acc (patch) | |
tree | 340227146036a734cc5a38c63ddfdc92f9be9ee4 | |
parent | e30ab4e309edcad41c2fef9147db1b1325497984 (diff) | |
download | elgg-86ddb910c0da573436f3f80e4718cdd37f9f3acc.tar.gz elgg-86ddb910c0da573436f3f80e4718cdd37f9f3acc.tar.bz2 |
little refactoring
-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 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; |