diff --git a/lib/page.php b/lib/page.php index 0dd4e06..133df7d 100644 --- a/lib/page.php +++ b/lib/page.php @@ -99,7 +99,7 @@ function getPage($page_name = null): array|false|string $curprivlvl = $_SESSION["privilegelevel"]; $orig = $pageMetadata["parameters"]["secret"]; - print_r($orig); + print_r(empty($pageMetadata["parameters"]["secret"])); echo "Secrecy: $is_secret_page($orig), you need to have $page_required_permission, you have $curprivlvl"; if($page_required_permission > $_SESSION["privilegelevel"]){