Some little standard stuff

This commit is contained in:
Michael 2017-04-04 05:39:43 +00:00
parent a0216af4bb
commit 407e25e7d6
1 changed files with 2 additions and 2 deletions

View File

@ -84,7 +84,7 @@ function network_init(App $a) {
} else { } else {
$remember_tab = false; $remember_tab = false;
} }
} elseif($sel_tabs[4] === 'active') { } elseif ($sel_tabs[4] === 'active') {
// The '/new' tab is selected // The '/new' tab is selected
$remember_group = false; $remember_group = false;
} }
@ -842,7 +842,7 @@ function network_tabs(App $a) {
); );
} }
if(feature_enabled(local_user(),'new_tab')) { if (feature_enabled(local_user(),'new_tab')) {
$tabs[] = array( $tabs[] = array(
'label' => t('New'), 'label' => t('New'),
'url' => 'network/new' . ((x($_GET,'cid')) ? '/?f=&cid=' . $_GET['cid'] : ''), 'url' => 'network/new' . ((x($_GET,'cid')) ? '/?f=&cid=' . $_GET['cid'] : ''),