]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
this->target was not available in the listitem
authorMikael Nordfeldth <mmn@hethane.se>
Thu, 29 Jan 2015 23:15:55 +0000 (00:15 +0100)
committerMikael Nordfeldth <mmn@hethane.se>
Thu, 29 Jan 2015 23:15:55 +0000 (00:15 +0100)
actions/subqueue.php

index 46a656fe5dc829375be4cc64324f9ee748c6b7d9..ba473456004ef06ffa364d1fc7ad4b59e56415bd 100644 (file)
@@ -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');
     }