forked from GNUsocial/gnu-social
make sure UserFlagPlugin works without Profile_flag
This commit is contained in:
parent
7a8723e6b4
commit
285745d2fd
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user