aboutsummaryrefslogtreecommitdiff
path: root/views/default/friends
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-06-29 21:38:48 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-06-29 21:38:48 +0000
commita40173d5f0f96c17fd10c1a84805b77e32f176a2 (patch)
tree5afd55c2e476ef46977c37c0425a7c84c2e32084 /views/default/friends
parenta87a2d7aca4c586ceb10cbc552ddc46362d26151 (diff)
downloadelgg-a40173d5f0f96c17fd10c1a84805b77e32f176a2.tar.gz
elgg-a40173d5f0f96c17fd10c1a84805b77e32f176a2.tar.bz2
Removed debug case from last commit.
git-svn-id: https://code.elgg.org/elgg/trunk@3365 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/friends')
-rw-r--r--views/default/friends/collection.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/default/friends/collection.php b/views/default/friends/collection.php
index f694aaa44..a12ad6e6a 100644
--- a/views/default/friends/collection.php
+++ b/views/default/friends/collection.php
@@ -27,7 +27,7 @@
echo "<li><h2>";
//as collections are private, check that the logged in user is the owner
- if(!$coll->owner_guid == $_SESSION['user']->getGUID()) {
+ if($coll->owner_guid == $_SESSION['user']->getGUID()) {
$confirm = addslashes(elgg_echo('question:areyousure'));
echo "<div class=\"friends_collections_controls\"> <a href=\"" . $vars['url'] . "action/friends/deletecollection?collection={$coll->id}\" class=\"delete_collection\" onclick=\"if (!confirm('{$confirm}')) { return false; }; $('div.friends_picker').empty();\"> </a>";
echo "</div>";