]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/peopletagsbyuser.php
Merge remote-tracking branch 'upstream/master'
[quix0rs-gnu-social.git] / actions / peopletagsbyuser.php
index 9a5f9106f41086885f271459874b0448632b3af8..7a78a9fe8ff1ee5d3958b285d0a63189fdd5eb83 100644 (file)
@@ -116,7 +116,7 @@ class PeopletagsbyuserAction extends Action
 
         $user = common_current_user();
         if ($this->arg('public')) {
-            $this->tags = $this->tagger->getLists(false, $offset, $limit);
+            $this->tags = $this->tagger->getLists(null, $offset, $limit);
         } else if ($this->arg('private')) {
             if (empty($user)) {
                 // TRANS: Error message displayed when trying to perform an action that requires a logged in user.
@@ -130,7 +130,7 @@ class PeopletagsbyuserAction extends Action
                 $this->clientError(_('You cannot view others\' private lists'), 403);
             }
         } else {
-            $this->tags = $this->tagger->getLists(common_current_user(), $offset, $limit);
+            $this->tags = $this->tagger->getLists($this->scoped, $offset, $limit);
         }
         return true;
     }