diff options
-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'] = !$_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')); |