From 828e31eb4d770d52611d86034eaf2b1a4249117a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Raynald=20de=20Lahond=C3=A8s?= <46420394+delahondes@users.noreply.github.com> Date: Thu, 23 May 2024 11:14:13 +0200 Subject: [PATCH] Update syntax.php Correctly display name of previous approver (issue 170, https://github.com/cosmocode/dokuwiki-plugin-publish/issues/170) --- syntax.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/syntax.php b/syntax.php index 261a4e4..1d3f631 100644 --- a/syntax.php +++ b/syntax.php @@ -103,7 +103,7 @@ function render($mode, Doku_Renderer $renderer, $data) { sort($keys); $last = $keys[count($keys)-1]; $approved = sprintf($this->getLang('apr_p_approved'), - $page[1][$last][1], + implode(', ',array_keys($page[1][$last])), wl($page[0], 'rev=' . $last), dformat($last)); if($last == $page[2]) { $updated = 'Unchanged'; } //shouldn't be possible: