UserFlag: Pass proper profile to FlaggedProfileListItem

Fixes #333
This commit is contained in:
Chimo 2018-08-16 19:16:15 -04:00
parent 9688a55d56
commit 2b43d484eb

View File

@ -202,7 +202,7 @@ class FlaggedProfileList extends ProfileList
*/ */
function newListItem(Profile $profile) function newListItem(Profile $profile)
{ {
return new FlaggedProfileListItem($this->profile, $this->action); return new FlaggedProfileListItem($profile, $this->action);
} }
} }