aboutsummaryrefslogtreecommitdiff
path: root/actions/friends/collections
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-26 20:57:09 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-26 20:57:09 +0000
commita2250e1854f23351b2a39e304e2bd5977f3fd867 (patch)
treec7a846a455073b88ef2db21115baf21fee57b138 /actions/friends/collections
parent657295df1ff884ed9f00b001389978b142ac6ba7 (diff)
downloadelgg-a2250e1854f23351b2a39e304e2bd5977f3fd867.tar.gz
elgg-a2250e1854f23351b2a39e304e2bd5977f3fd867.tar.bz2
Fixes #2982 friends collections work even if the code is convoluted and poorly written.
git-svn-id: http://code.elgg.org/elgg/trunk@8495 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'actions/friends/collections')
-rw-r--r--actions/friends/collections/edit.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/actions/friends/collections/edit.php b/actions/friends/collections/edit.php
index 8fd1eae18..b7fb716f2 100644
--- a/actions/friends/collections/edit.php
+++ b/actions/friends/collections/edit.php
@@ -1,6 +1,6 @@
<?php
/**
- * Elgg collection add page
+ * Friends collection edit action
*
* @package Elgg.Core
* @subpackage Friends.Collections
@@ -10,4 +10,6 @@ $collection_id = get_input('collection_id');
$friends = get_input('friend');
//chech the collection exists and the current user owners it
-update_access_collection($collection_id, $friends); \ No newline at end of file
+update_access_collection($collection_id, $friends);
+
+exit;