diff options
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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. |