From: Michael Date: Mon, 13 Jan 2020 17:07:05 +0000 (+0000) Subject: Improved query X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=1c9fa4451a4b900479478762453395eaa5b4d04c;p=friendica.git Improved query --- diff --git a/mod/network.php b/mod/network.php index 22282335f0..e71bbe910e 100644 --- a/mod/network.php +++ b/mod/network.php @@ -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'),