Commit 596c1b7f authored by Sarven Capadisli's avatar Sarven Capadisli

Using single id for both profile block and unblock

darcs-hash:20081212043240-efd22-99f6754e2b76eed06237414955d6c01b4137cba5.gz
parent 09dd39a4
......@@ -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));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment