class SubQueueList extends ProfileList
{
- function newListItem($profile)
+ function newListItem(Profile $profile)
{
return new SubQueueListItem($profile, $this->action);
}
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');
}