From 7920fa5b1d38c3e85d5050b8e6bba3f74fc60cad Mon Sep 17 00:00:00 2001 From: bruno Date: Thu, 1 Feb 2024 10:52:03 +0100 Subject: [PATCH] add todo --- lib/navigation.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"]); }