Skip to content
Snippets Groups Projects
Commit aa27cf05 authored by Andreas Gohr's avatar Andreas Gohr
Browse files

fix for old revisions showing "external edit" without reason FS#1092

darcs-hash:20070411193230-7ad00-95bf7919c303470ca0583d690a84522735974bb6.gz
parent b2918131
No related branches found
No related tags found
No related merge requests found
......@@ -127,8 +127,9 @@ function pageinfo(){
if($REV){
$revinfo = getRevisionInfo($ID, $REV, 1024);
}else{
if (isset($info['meta']['last_change'])) { $revinfo = $info['meta']['last_change']; }
else {
if (is_array($info['meta']['last_change'])) {
$revinfo = $info['meta']['last_change'];
} else {
$revinfo = getRevisionInfo($ID, $info['lastmod'], 1024);
// cache most recent changelog line in metadata if missing and still valid
if ($revinfo!==false) {
......
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