From: Sarven Capadisli Date: Fri, 12 Dec 2008 04:32:40 +0000 (-0500) Subject: Using single id for both profile block and unblock X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=596c1b7f5ac50cba55c5ff57a941a2ba41dc251c;p=quix0rs-gnu-social.git Using single id for both profile block and unblock darcs-hash:20081212043240-efd22-99f6754e2b76eed06237414955d6c01b4137cba5.gz --- diff --git a/actions/showstream.php b/actions/showstream.php index 633b11abcd..e96a67703f 100644 --- a/actions/showstream.php +++ b/actions/showstream.php @@ -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));