From c4925c1f66b0aa877b7f8fae939c2606db72cf34 Mon Sep 17 00:00:00 2001 From: ArthurHoaro Date: Sat, 19 Aug 2017 17:41:56 +0200 Subject: [PATCH] Fix untagged only button --- index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) // -------- User wants to see only untagged links (toggle) if (isset($_GET['untaggedonly'])) { - $_SESSION['untaggedonly'] = !empty($_SESSION['untaggedonly']); + $_SESSION['untaggedonly'] = empty($_SESSION['untaggedonly']); if (! empty($_SERVER['HTTP_REFERER'])) { $location = generateLocation($_SERVER['HTTP_REFERER'], $_SERVER['HTTP_HOST'], array('untaggedonly')); -- 2.41.0