summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/UserFlag/UserFlagPlugin.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/UserFlag/UserFlagPlugin.php b/plugins/UserFlag/UserFlagPlugin.php
index 06c1e75c5..c2716c2e1 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 {