Using single id for both profile block and unblock

darcs-hash:20081212043240-efd22-99f6754e2b76eed06237414955d6c01b4137cba5.gz
This commit is contained in:
Sarven Capadisli 2008-12-11 23:32:40 -05:00
parent 09dd39a434
commit 596c1b7f5a
1 changed files with 1 additions and 1 deletions

View File

@ -204,7 +204,7 @@ class ShowstreamAction extends StreamAction {
if ($cur) {
$blocked = $cur->hasBlocked($profile);
common_element_start('li', array('id' => ($blocked) ? 'profile_unblock' : 'profile_block'));
common_element_start('li', array('id' => 'profile_block'));
if ($blocked) {
common_unblock_form($profile, array('action' => 'showstream',
'nickname' => $profile->nickname));