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
1 changed files with 1 additions and 1 deletions

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);
}
}