summaryrefslogtreecommitdiff
path: root/actions
diff options
context:
space:
mode:
authorSarven Capadisli <csarven@controlyourself.ca>2008-12-11 23:32:40 -0500
committerSarven Capadisli <csarven@controlyourself.ca>2008-12-11 23:32:40 -0500
commit596c1b7f5ac50cba55c5ff57a941a2ba41dc251c (patch)
tree7c58cc72078aa8fb5737476300c41c9b71fec98e /actions
parent09dd39a434a3a21c4dd5367a2b77f1f7f451c571 (diff)
Using single id for both profile block and unblock
darcs-hash:20081212043240-efd22-99f6754e2b76eed06237414955d6c01b4137cba5.gz
Diffstat (limited to 'actions')
-rw-r--r--actions/showstream.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/showstream.php b/actions/showstream.php
index 633b11abc..e96a67703 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));