Fix an issue with bookmark visibility filter (#1398)

Fix an issue with bookmark visibility filter
This commit is contained in:
ArthurHoaro 2020-01-18 10:52:08 +01:00 committed by GitHub
commit 7e3648ad87
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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,