only show tags if there's a logged-in user
darcs-hash:20081121004336-84dde-8fc36b38b9f35d9058118efebd509098f6ce8230.gz
This commit is contained in:
parent
fe6738b6c7
commit
491172638e
@ -121,8 +121,7 @@ class ProfileList {
|
|||||||
common_element_end('p');
|
common_element_end('p');
|
||||||
}
|
}
|
||||||
|
|
||||||
$user = common_current_user();
|
if ($user) {
|
||||||
|
|
||||||
$action = NULL;
|
$action = NULL;
|
||||||
|
|
||||||
if ($user->isSubscribed($this->profile)) {
|
if ($user->isSubscribed($this->profile)) {
|
||||||
@ -154,6 +153,7 @@ class ProfileList {
|
|||||||
'class' => 'tagother'),
|
'class' => 'tagother'),
|
||||||
_('Tag'));
|
_('Tag'));
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
common_element_end('li');
|
common_element_end('li');
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user