From a3dafeab4e60718460b9f46f560faea764aa7018 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Paul=20H=C3=A4nsch?= Date: Wed, 25 May 2022 21:40:39 +0200 Subject: [PATCH] bugfix: variable name --- handlers/10_page.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/handlers/10_page.sh b/handlers/10_page.sh index edb849a..87af685 100755 --- a/handlers/10_page.sh +++ b/handlers/10_page.sh @@ -56,9 +56,9 @@ case "${PATH_INFO}" in return 1 ;; */) - if [ ! "$(mdfile "$page")" ]; then + if [ ! "$(mdfile "$PATH_INFO")" ]; then theme_error 404 - elif ! acl_read "$page"; then + elif ! acl_read "$PATH_INFO"; then theme_error 403 else theme_page "${PATH_INFO}" -- 2.39.2