diff options
author | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-06-29 21:38:48 +0000 |
---|---|---|
committer | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-06-29 21:38:48 +0000 |
commit | a40173d5f0f96c17fd10c1a84805b77e32f176a2 (patch) | |
tree | 5afd55c2e476ef46977c37c0425a7c84c2e32084 | |
parent | a87a2d7aca4c586ceb10cbc552ddc46362d26151 (diff) | |
download | elgg-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
-rw-r--r-- | views/default/friends/collection.php | 2 |
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>";
|