Skip to content

Commit

Permalink
Merge pull request #105 from lupo49/master
Browse files Browse the repository at this point in the history
Additional commit for closed Pull Request #100
  • Loading branch information
selfthinker committed Jun 11, 2012
2 parents f5e8b87 + 7656ee3 commit 05b30d7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion inc/actions.php
Expand Up @@ -498,7 +498,7 @@ function act_edit($act){
//set summary default
if(!$SUM){
if($REV){
$SUM = $lang['restored'];
$SUM = sprintf($lang['restored'], dformat($REV));
}elseif(!$INFO['exists']){
$SUM = $lang['created'];
}
Expand Down
2 changes: 1 addition & 1 deletion inc/media.php
Expand Up @@ -420,7 +420,7 @@ function media_upload_finish($fn_tmp, $fn, $id, $imime, $overwrite, $move = 'mov
media_notify($id,$fn,$imime,$old);
// add a log entry to the media changelog
if ($REV){
addMediaLogEntry($new, $id, DOKU_CHANGE_TYPE_REVERT, $lang['restored'], $REV);
addMediaLogEntry($new, $id, DOKU_CHANGE_TYPE_REVERT, sprintf($lang['restored'], dformat($REV)), $REV);
} elseif ($overwrite) {
addMediaLogEntry($new, $id, DOKU_CHANGE_TYPE_EDIT);
} else {
Expand Down

0 comments on commit 05b30d7

Please sign in to comment.