aboutsummaryrefslogtreecommitdiffhomepage
path: root/index.php
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2017-08-19 17:41:56 +0200
committerArthurHoaro <arthur@hoa.ro>2017-08-19 17:41:56 +0200
commitc4925c1f66b0aa877b7f8fae939c2606db72cf34 (patch)
tree6e99f1a35d7ef82949a671bc8f83f0ac175bda63 /index.php
parentecda1e0ace4a8bf0f852820e02695e0fd8c68359 (diff)
downloadShaarli-c4925c1f66b0aa877b7f8fae939c2606db72cf34.tar.gz
Shaarli-c4925c1f66b0aa877b7f8fae939c2606db72cf34.tar.zst
Shaarli-c4925c1f66b0aa877b7f8fae939c2606db72cf34.zip
Fix untagged only button
Diffstat (limited to 'index.php')
-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'));