From: Evan Prodromou Date: Sat, 7 Nov 2009 18:21:40 +0000 (-0500) Subject: make sure UserFlagPlugin works without Profile_flag X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=285745d2fdfadb58cd228a72bc93511a9fb54e58;p=quix0rs-gnu-social.git make sure UserFlagPlugin works without Profile_flag --- diff --git a/plugins/UserFlag/UserFlagPlugin.php b/plugins/UserFlag/UserFlagPlugin.php index 06c1e75c58..c2716c2e11 100644 --- a/plugins/UserFlag/UserFlagPlugin.php +++ b/plugins/UserFlag/UserFlagPlugin.php @@ -101,8 +101,7 @@ class UserFlagPlugin extends Plugin $action->elementStart('li', 'entity_flag'); - if (User_flag_profile::exists($profile->id, $user->id, - Profile_flag::DEFAULTFLAG)) { + if (User_flag_profile::exists($profile->id, $user->id)) { $action->element('span', _('Flagged for review')); } else {