if (!empty($_GET['cid'])) {
$parameters['cid'] = $_GET['cid'];
}
- $query = '?' . http_build_query($parameters);
$tabs[] = [
'label' => L10n::t('Personal'),
- 'url' => str_replace('/new', '', $cmd) . $query,
+ 'url' => str_replace('/new', '', $cmd) . '?' . http_build_query($parameters),
'sel' => $conv_active,
'title' => L10n::t('Posts that mention or involve you'),
'id' => 'personal-tab',
if (!empty($_GET['cid'])) {
$parameters['cid'] = $_GET['cid'];
}
- $query = '?' . http_build_query($parameters);
$tabs[] = [
'label' => L10n::t('Shared Links'),
- 'url' => str_replace('/new', '', $cmd) . $query,
+ 'url' => str_replace('/new', '', $cmd) . '?' . http_build_query($parameters),
'sel' => $bookmarked_active,
'title' => L10n::t('Interesting Links'),
'id' => 'shared-links-tab',
if (!empty($_GET['cid'])) {
$parameters['cid'] = $_GET['cid'];
}
- $query = '?' . http_build_query($parameters);
$tabs[] = [
'label' => L10n::t('Starred'),
- 'url' => str_replace('/new', '', $cmd) . $query,
+ 'url' => str_replace('/new', '', $cmd) . '?' . http_build_query($parameters),
'sel' => $starred_active,
'title' => L10n::t('Favourite Posts'),
'id' => 'starred-posts-tab',