We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

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

Using single id for both profile block and unblock

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