From 4869d535b5991027b031d10376cba4e8017a68e5 Mon Sep 17 00:00:00 2001 From: ArthurHoaro Date: Sat, 18 Jan 2020 10:49:30 +0100 Subject: Fix an issue with bookmark visibility filter --- index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'index.php') diff --git a/index.php b/index.php index 2dd003f0..013b01af 100644 --- a/index.php +++ b/index.php @@ -1681,7 +1681,7 @@ function buildLinkList($PAGE, $linkDb, $conf, $pluginManager, $loginManager) } } else { // Filter bookmarks according search parameters. - $visibility = ! empty($_SESSION['visibility']) ? $_SESSION['visibility'] : ''; + $visibility = ! empty($_SESSION['visibility']) ? $_SESSION['visibility'] : null; $request = [ 'searchtags' => $searchtags, 'searchterm' => $searchterm, -- cgit v1.2.3