Skip to content

Commit

Permalink
Update syntax.php
Browse files Browse the repository at this point in the history
Correctly display name of previous approver (issue 170, cosmocode#170)
  • Loading branch information
delahondes authored May 23, 2024
1 parent cebce1b commit 828e31e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion syntax.php
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 828e31e

Please sign in to comment.