Improved query
This commit is contained in:
parent
c65a5cc0d5
commit
1c9fa4451a
1 changed files with 3 additions and 3 deletions
|
@ -952,11 +952,11 @@ function network_tabs(App $a)
|
|||
];
|
||||
|
||||
if (Feature::isEnabled(local_user(), 'new_tab')) {
|
||||
$parameters = [];
|
||||
if (!empty($_GET['cid'])) {
|
||||
$parameters['cid'] = $_GET['cid'];
|
||||
$query = '?' . http_build_query(['cid' => $_GET['cid']]);
|
||||
} else {
|
||||
$query = '';
|
||||
}
|
||||
$query = '?' . http_build_query($parameters);
|
||||
|
||||
$tabs[] = [
|
||||
'label' => L10n::t('New'),
|
||||
|
|
Loading…
Reference in a new issue