proper tab selection when network or search is in effect

This commit is contained in:
friendica 2012-02-13 20:42:10 -08:00
parent d75b6a00d4
commit 4de67d95ce

View file

@ -398,7 +398,7 @@ function contacts_content(&$a) {
array(
'label' => t('Unblocked Contacts'),
'url' => $a->get_baseurl() . '/contacts',
'sel' => ((! $all) && (! $blocked) && (! $hidden)) ? 'active' : '',
'sel' => ((! $all) && (! $blocked) && (! $hidden) && (! $search) && (! $nets)) ? 'active' : '',
),
array(