make sure UserFlagPlugin works without Profile_flag

This commit is contained in:
Evan Prodromou 2009-11-07 13:21:40 -05:00
parent 7a8723e6b4
commit 285745d2fd
1 changed files with 1 additions and 2 deletions

View File

@ -101,8 +101,7 @@ class UserFlagPlugin extends Plugin
$action->elementStart('li', 'entity_flag'); $action->elementStart('li', 'entity_flag');
if (User_flag_profile::exists($profile->id, $user->id, if (User_flag_profile::exists($profile->id, $user->id)) {
Profile_flag::DEFAULTFLAG)) {
$action->element('span', $action->element('span',
_('Flagged for review')); _('Flagged for review'));
} else { } else {