Merge remote-tracking branch 'upstream/master'
[quix0rs-gnu-social.git] / actions / apilistmemberships.php
index c1aa017deab1d1c35ada2db868df4210ff264092..37e6b77b05df10c7d86e4791a168060937fd147a 100644 (file)
@@ -115,11 +115,10 @@ class ApiListMembershipsAction extends ApiBareAuthAction
 
     function getLists()
     {
-        $profile = $this->target;
-        $fn = array($profile, 'getOtherTags');
+        $fn = array($this->target, 'getOtherTags');
 
         # 20 lists
         list($this->lists, $this->next_cursor, $this->prev_cursor) =
-                Profile_list::getAtCursor($fn, array($this->auth_user), $this->cursor, 20);
+                Profile_list::getAtCursor($fn, array($this->scoped), $this->cursor, 20);
     }
 }