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 145ea3f6..4f07a013 100644
--- a/index.php
+++ b/index.php
@@ -1630,8 +1630,8 @@ function buildLinkList($PAGE,$LINKSDB, $conf, $pluginManager)
1630 } 1630 }
1631 } else { 1631 } else {
1632 // Filter links according search parameters. 1632 // Filter links according search parameters.
1633 $privateonly = !empty($_SESSION['privateonly']); 1633 $visibility = ! empty($_SESSION['privateonly']) ? 'private' : 'all';
1634 $linksToDisplay = $LINKSDB->filterSearch($_GET, false, $privateonly); 1634 $linksToDisplay = $LINKSDB->filterSearch($_GET, false, $visibility);
1635 } 1635 }
1636 1636
1637 // ---- Handle paging. 1637 // ---- Handle paging.