]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/profileaction.php
Merge branch 'lists_fixes' into 1.0.x
[quix0rs-gnu-social.git] / lib / profileaction.php
index 6a79f8c07e698e23fc8506bfd49fae968800f9b2..bdd7f9144dda3b887c83de0e44e0ab2821dc1614 100644 (file)
@@ -279,9 +279,8 @@ class ProfileAction extends OwnerDesignAction
     function showLists()
     {
         $cur = common_current_user();
-        $showPrivate = (!empty($cur) && $cur->id == $this->profile->id);
 
-        $lists = $this->profile->getLists($showPrivate);
+        $lists = $this->profile->getLists($cur);
 
         if ($lists->N > 0) {
             $this->elementStart('div', array('id' => 'entity_lists',