From 596c1b7f5ac50cba55c5ff57a941a2ba41dc251c Mon Sep 17 00:00:00 2001 From: Sarven Capadisli Date: Thu, 11 Dec 2008 23:32:40 -0500 Subject: Using single id for both profile block and unblock darcs-hash:20081212043240-efd22-99f6754e2b76eed06237414955d6c01b4137cba5.gz --- actions/showstream.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'actions') 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)); -- cgit v1.2.3-54-g00ecf