From 2b43d484ebcf63471629a396546dc363d5faa278 Mon Sep 17 00:00:00 2001 From: Chimo Date: Thu, 16 Aug 2018 19:16:15 -0400 Subject: [PATCH] UserFlag: Pass proper profile to FlaggedProfileListItem Fixes #333 --- plugins/UserFlag/actions/adminprofileflag.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } }