From: Chimo Date: Thu, 16 Aug 2018 23:16:15 +0000 (-0400) Subject: UserFlag: Pass proper profile to FlaggedProfileListItem X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=2b43d484eb;p=quix0rs-gnu-social.git UserFlag: Pass proper profile to FlaggedProfileListItem Fixes #333 --- diff --git a/plugins/UserFlag/actions/adminprofileflag.php b/plugins/UserFlag/actions/adminprofileflag.php index 35ce474ea4..d8d11018b0 100644 --- a/plugins/UserFlag/actions/adminprofileflag.php +++ b/plugins/UserFlag/actions/adminprofileflag.php @@ -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); } }