diff options
author | ArthurHoaro <arthur@hoa.ro> | 2017-08-19 17:41:56 +0200 |
---|---|---|
committer | ArthurHoaro <arthur@hoa.ro> | 2017-08-19 17:41:56 +0200 |
commit | c4925c1f66b0aa877b7f8fae939c2606db72cf34 (patch) | |
tree | 6e99f1a35d7ef82949a671bc8f83f0ac175bda63 /index.php | |
parent | ecda1e0ace4a8bf0f852820e02695e0fd8c68359 (diff) | |
download | Shaarli-c4925c1f66b0aa877b7f8fae939c2606db72cf34.tar.gz Shaarli-c4925c1f66b0aa877b7f8fae939c2606db72cf34.tar.zst Shaarli-c4925c1f66b0aa877b7f8fae939c2606db72cf34.zip |
Fix untagged only button
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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')); |