Skip to content
Snippets Groups Projects
Commit 82be9669 authored by Andreas Gohr's avatar Andreas Gohr Committed by GitHub
Browse files

Merge pull request #1602 from metinn/master

 added rev number to most recent link in old revisions page
parents 472b5ca1 97c3189f
No related branches found
No related tags found
No related merge requests found
......@@ -550,7 +550,9 @@ function html_revisions($first=0, $media_id = false){
$sizechange = null;
}
}
$href = wl($id);
$pagelog = new PageChangeLog($ID);
$latestrev = array_pop($pagelog->getRevisions(-1, 1));
$href = wl($id,"rev=$latestrev",false,'&');
$summary = $INFO['sum'];
$editor = $INFO['editor'];
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment