aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSem <sembrestels@riseup.net>2014-01-13 00:53:40 +0100
committerSem <sembrestels@riseup.net>2014-01-13 00:53:40 +0100
commit312877b25ef888868de1c0116d94d0a211e44b00 (patch)
tree611935a195567c1715a7b9378c58afe1694ff0ca
parente2a0b7b6e6ff5164aedd1d489cea110f9f67d1af (diff)
downloadelgg-312877b25ef888868de1c0116d94d0a211e44b00.tar.gz
elgg-312877b25ef888868de1c0116d94d0a211e44b00.tar.bz2
Fixed save action.
-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 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;