aboutsummaryrefslogtreecommitdiffhomepage
path: root/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'index.php')
-rw-r--r--index.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/index.php b/index.php
index 190d7f6b..b62149f6 100644
--- a/index.php
+++ b/index.php
@@ -1614,8 +1614,8 @@ function buildLinkList($PAGE,$LINKSDB, $conf, $pluginManager)
1614 } 1614 }
1615 } else { 1615 } else {
1616 // Filter links according search parameters. 1616 // Filter links according search parameters.
1617 $privateonly = !empty($_SESSION['privateonly']); 1617 $visibility = ! empty($_SESSION['privateonly']) ? 'private' : 'all';
1618 $linksToDisplay = $LINKSDB->filterSearch($_GET, false, $privateonly); 1618 $linksToDisplay = $LINKSDB->filterSearch($_GET, false, $visibility);
1619 } 1619 }
1620 1620
1621 // ---- Handle paging. 1621 // ---- Handle paging.