Browse Source

Improved query

pull/8112/head
Michael 1 year ago
parent
commit
1c9fa4451a
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      mod/network.php

+ 3
- 3
mod/network.php View File

@ -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…
Cancel
Save