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