summaryrefslogtreecommitdiff
path: root/feed.php
diff options
context:
space:
mode:
authorMichael Hamann <michael@content-space.de>2013-12-02 00:12:49 +0100
committerMichael Hamann <michael@content-space.de>2013-12-02 00:15:38 +0100
commit0b4e20cc13eaadaee104a8815403ac749e3a49fa (patch)
treed2be7129d22af0bb11043b1ada12086bf1f62446 /feed.php
parent11540fc12046d12078bd8a41bb5e1a72d53d515d (diff)
downloadrpg-0b4e20cc13eaadaee104a8815403ac749e3a49fa.tar.gz
rpg-0b4e20cc13eaadaee104a8815403ac749e3a49fa.tar.bz2
Fix RSS namespace listings containing hidden pages
Diffstat (limited to 'feed.php')
-rw-r--r--feed.php8
1 files changed, 6 insertions, 2 deletions
diff --git a/feed.php b/feed.php
index 8d1dcea6a..bdce666d2 100644
--- a/feed.php
+++ b/feed.php
@@ -476,8 +476,12 @@ function rssListNamespace($opt) {
$ns = str_replace(':', '/', $ns);
$data = array();
- sort($data);
- search($data, $conf['datadir'], 'search_list', '', $ns);
+ $search_opts = array(
+ 'depth' => 1,
+ 'pagesonly' => true,
+ 'listfiles' => true
+ );
+ search($data, $conf['datadir'], 'search_universal', $search_opts, $ns);
return $data;
}