From 285745d2fdfadb58cd228a72bc93511a9fb54e58 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Sat, 7 Nov 2009 13:21:40 -0500 Subject: make sure UserFlagPlugin works without Profile_flag --- plugins/UserFlag/UserFlagPlugin.php | 3 +-- 1 file changed, 1 insertion(+), 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 { -- cgit v1.2.3-54-g00ecf