Fix an issue with bookmark visibility filter

This commit is contained in:
ArthurHoaro 2020-01-18 10:49:30 +01:00
parent 3fb29fdda0
commit 4869d535b5

View file

@ -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,