From e50b352138e19786efb2266e5ef28fc4966c1e60 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Paul=20H=C3=A4nsch?= Date: Thu, 27 Jul 2023 09:18:39 +0200 Subject: [PATCH] call revision macro from handler instead of theme --- handlers/40_revision.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/handlers/40_revision.sh b/handlers/40_revision.sh index 08350c7..e3b8d96 100755 --- a/handlers/40_revision.sh +++ b/handlers/40_revision.sh @@ -8,7 +8,8 @@ case "${PATH_INFO}" in if ! acl_read "${PATH_INFO%\[revision\]}"; then theme_error 403 else - theme_revisions "${PATH_INFO%\[revision\]}" + "$_EXEC/macros/revisions" --list --diff "$page" \ + | theme_revisions - fi return 0 ;; -- 2.39.2