]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/subqueue.php
Merge branch 'master' of https://git.gnu.io/gnu/gnu-social into social-master
[quix0rs-gnu-social.git] / actions / subqueue.php
index 46a656fe5dc829375be4cc64324f9ee748c6b7d9..c87202ddf1cc602ff8bc996c61d435c3824cc1cf 100644 (file)
@@ -106,7 +106,7 @@ class SubqueueAction extends GalleryAction
 
 class SubQueueList extends ProfileList
 {
-    function newListItem($profile)
+    function newListItem(Profile $profile)
     {
         return new SubQueueListItem($profile, $this->action);
     }
@@ -127,7 +127,7 @@ class SubQueueListItem extends ProfileListItem
     function showApproveButtons()
     {
         $this->out->elementStart('li', 'entity_approval');
-        $form = new ApproveSubForm($this->out, $this->target);
+        $form = new ApproveSubForm($this->out, $this->profile);
         $form->show();
         $this->out->elementEnd('li');
     }