]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Using single id for both profile block and unblock
authorSarven Capadisli <csarven@controlyourself.ca>
Fri, 12 Dec 2008 04:32:40 +0000 (23:32 -0500)
committerSarven Capadisli <csarven@controlyourself.ca>
Fri, 12 Dec 2008 04:32:40 +0000 (23:32 -0500)
darcs-hash:20081212043240-efd22-99f6754e2b76eed06237414955d6c01b4137cba5.gz

actions/showstream.php

index 633b11abcdb239360316d018af06163f9cbe6b97..e96a67703ff32ee02bec6e335fca80653ff79a30 100644 (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));