]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
Removed debug case from last commit.
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>
Mon, 29 Jun 2009 21:38:48 +0000 (21:38 +0000)
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>
Mon, 29 Jun 2009 21:38:48 +0000 (21:38 +0000)
git-svn-id: https://code.elgg.org/elgg/trunk@3365 36083f99-b078-4883-b0ff-0f9b5a30f544

views/default/friends/collection.php

index f694aaa44ad06a7b9d6d3e501a9ac80696e2d608..a12ad6e6a5b6a8666effc6b3458e0a3f4965c5d2 100644 (file)
@@ -27,7 +27,7 @@
                        echo "<li><h2>";\r
                \r
                        //as collections are private, check that the logged in user is the owner\r
-                       if(!$coll->owner_guid == $_SESSION['user']->getGUID()) {\r
+                       if($coll->owner_guid == $_SESSION['user']->getGUID()) {\r
                                $confirm = addslashes(elgg_echo('question:areyousure'));\r
                                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>";\r
                                echo "</div>";\r