From dca021b5b0112c007caf4796c26ce89d0c4c8227 Mon Sep 17 00:00:00 2001 From: bruno Date: Thu, 15 Feb 2024 10:50:22 +0100 Subject: [PATCH] Test page title --- lib/navigation.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/navigation.php b/lib/navigation.php index 8422d10..df9fe06 100644 --- a/lib/navigation.php +++ b/lib/navigation.php @@ -5,8 +5,9 @@ function getDynamicMetadata($file): array{ return include($file); } -function getDynamicPermission($params): int { +function getDynamicPermission($metadata): int { global $routerConfig; + $params = $metadata["parameters"]; try { $permission_level = $params["minimal_permission_level"];