Merge branch 'issue-333' into 'nightly'

UserFlag: Pass proper profile to FlaggedProfileListItem

See merge request gnu/gnu-social!168
This commit is contained in:
Diogo Cordeiro 2018-08-23 21:43:31 +00:00
commit b3c3af1ef6

View File

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