diff --git a/lib/navigation.php b/lib/navigation.php index 8471012..0a1b030 100644 --- a/lib/navigation.php +++ b/lib/navigation.php @@ -50,7 +50,7 @@ function generateNavigation(): string $page_file = $routerConfig["page_dir"] . $site_dir . "/" . $page_file ; $page_tmp = file_get_contents($page_file); - $pageMetadata = parsePageTag($page_tmp); + $pageMetadata = parsePageTag($page_tmp); //make dynamic pages work here if(!empty($pageMetadata["parameters"]["minimal_permission_level"])){ $page_required_permission = intval($pageMetadata["parameters"]["minimal_permission_level"]); }