]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
UserFlag: Pass proper profile to FlaggedProfileListItem
authorChimo <chimo@chromic.org>
Thu, 16 Aug 2018 23:16:15 +0000 (19:16 -0400)
committerChimo <chimo@chromic.org>
Thu, 16 Aug 2018 23:16:15 +0000 (19:16 -0400)
Fixes #333

plugins/UserFlag/actions/adminprofileflag.php

index 35ce474ea45798a482aec68aea050d406278ee61..d8d11018b0ee4ca5499af2c993ee5f444fd4a5c6 100644 (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);
     }
 }