From: ArthurHoaro Date: Sat, 19 Aug 2017 15:52:28 +0000 (+0200) Subject: Merge pull request #923 from ArthurHoaro/hotfix/untagged X-Git-Tag: v0.9.1~1^2~3 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=5e58e6e2cf05a05b9615d6ab53d39579472a5c41;hp=ecda1e0ace4a8bf0f852820e02695e0fd8c68359;p=github%2Fshaarli%2FShaarli.git Merge pull request #923 from ArthurHoaro/hotfix/untagged Fix untagged only button --- 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'));