Skip to content

Commit

Permalink
fixing for php 5.3
Browse files Browse the repository at this point in the history
  • Loading branch information
metinn committed Jun 3, 2016
1 parent fe101f3 commit 97c3189
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inc/html.php
Expand Up @@ -551,7 +551,7 @@ function html_revisions($first=0, $media_id = false){
}
}
$pagelog = new PageChangeLog($ID);
$latestrev = $pagelog->getRevisions(-1, 1)[0];
$latestrev = array_pop($pagelog->getRevisions(-1, 1));
$href = wl($id,"rev=$latestrev",false,'&');
$summary = $INFO['sum'];
$editor = $INFO['editor'];
Expand Down

0 comments on commit 97c3189

Please sign in to comment.