Fix navigation

This commit is contained in:
Bruno Rybársky 2024-02-24 10:06:58 +01:00
parent 4f5732ad83
commit 4d829d6b76

@ -7,6 +7,7 @@ function getDynamicMetadata($file): array{
function getDynamicPermission($metadata): int { function getDynamicPermission($metadata): int {
global $routerConfig; global $routerConfig;
print_r($metadata);
$params = $metadata["parameters"]; $params = $metadata["parameters"];
try { try {
$permission_level = $params["minimal_permission_level"]; $permission_level = $params["minimal_permission_level"];