aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2017-08-19 17:52:28 +0200
committerGitHub <noreply@github.com>2017-08-19 17:52:28 +0200
commit5e58e6e2cf05a05b9615d6ab53d39579472a5c41 (patch)
tree6e99f1a35d7ef82949a671bc8f83f0ac175bda63
parentecda1e0ace4a8bf0f852820e02695e0fd8c68359 (diff)
parentc4925c1f66b0aa877b7f8fae939c2606db72cf34 (diff)
downloadShaarli-5e58e6e2cf05a05b9615d6ab53d39579472a5c41.tar.gz
Shaarli-5e58e6e2cf05a05b9615d6ab53d39579472a5c41.tar.zst
Shaarli-5e58e6e2cf05a05b9615d6ab53d39579472a5c41.zip
Merge pull request #923 from ArthurHoaro/hotfix/untagged
Fix untagged only button
-rw-r--r--index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.php b/index.php
index 82a92473..b4c4347a 100644
--- a/index.php
+++ b/index.php
@@ -1021,7 +1021,7 @@ function renderPage($conf, $pluginManager, $LINKSDB, $history)
1021 1021
1022 // -------- User wants to see only untagged links (toggle) 1022 // -------- User wants to see only untagged links (toggle)
1023 if (isset($_GET['untaggedonly'])) { 1023 if (isset($_GET['untaggedonly'])) {
1024 $_SESSION['untaggedonly'] = !empty($_SESSION['untaggedonly']); 1024 $_SESSION['untaggedonly'] = empty($_SESSION['untaggedonly']);
1025 1025
1026 if (! empty($_SERVER['HTTP_REFERER'])) { 1026 if (! empty($_SERVER['HTTP_REFERER'])) {
1027 $location = generateLocation($_SERVER['HTTP_REFERER'], $_SERVER['HTTP_HOST'], array('untaggedonly')); 1027 $location = generateLocation($_SERVER['HTTP_REFERER'], $_SERVER['HTTP_HOST'], array('untaggedonly'));