From: friendica Date: Tue, 14 Feb 2012 04:42:10 +0000 (-0800) Subject: proper tab selection when network or search is in effect X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=4de67d95ce5ae6edd41767c8da5a54e0f1abd96e;p=friendica.git proper tab selection when network or search is in effect --- diff --git a/mod/contacts.php b/mod/contacts.php index c93b37bd87..d1136f542c 100755 --- a/mod/contacts.php +++ b/mod/contacts.php @@ -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(