Don't show flag user button your own profile
This commit is contained in:
@@ -88,7 +88,7 @@ class UserFlagPlugin extends Plugin
|
||||
{
|
||||
$user = common_current_user();
|
||||
|
||||
if (!empty($user)) {
|
||||
if (!empty($user) && ($user->id != $profile->id)) {
|
||||
|
||||
$action->elementStart('li', 'entity_flag');
|
||||
|
||||
|
Reference in New Issue
Block a user