diff options
author | ArthurHoaro <arthur@hoa.ro> | 2017-08-19 17:52:28 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-19 17:52:28 +0200 |
commit | 5e58e6e2cf05a05b9615d6ab53d39579472a5c41 (patch) | |
tree | 6e99f1a35d7ef82949a671bc8f83f0ac175bda63 | |
parent | ecda1e0ace4a8bf0f852820e02695e0fd8c68359 (diff) | |
parent | c4925c1f66b0aa877b7f8fae939c2606db72cf34 (diff) | |
download | Shaarli-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.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')); |