diff --git a/helper.php b/helper.php index 7dc1874..9d2f8a8 100644 --- a/helper.php +++ b/helper.php @@ -704,7 +704,7 @@ function _get_included_pages($mode, $page, $sect, $parent_id, $flags) { $ns = utf8_encodeFN(str_replace(':', '/', $page)); // depth is absolute depth, not relative depth, but 0 has a special meaning. $depth = $flags['depth'] ? $flags['depth'] + substr_count($page, ':') + ($page ? 1 : 0) : 0; - search($pagearrays, $conf['datadir'], 'search_allpages', array('depth' => $depth), $ns); + search($pagearrays, $conf['datadir'], 'search_allpages', array('depth' => $depth, 'skipacl' => false), $ns); if (is_array($pagearrays)) { foreach ($pagearrays as $pagearray) { if (!isHiddenPage($pagearray['id'])) // skip hidden pages diff --git a/plugin.info.txt b/plugin.info.txt index 5df41d7..27137dc 100644 --- a/plugin.info.txt +++ b/plugin.info.txt @@ -1,7 +1,7 @@ base include author Michael Hamann, Gina Häussge, Christopher Smith, Michael Klier, Esther Brunner email michael@content-space.de -date 2018-04-24 +date 2018-11-29 name include plugin desc Functions to include another page in a wiki page url http://dokuwiki.org/plugin:include