summaryrefslogtreecommitdiff
path: root/inc/actions.php
diff options
context:
space:
mode:
authorlupo49 <post@lupo49.de>2012-05-08 20:18:35 +0200
committerlupo49 <post@lupo49.de>2012-05-08 20:18:35 +0200
commitd6b9c7bffaacf3b0b983386eca336e4f8d60a2f3 (patch)
tree9bbc06b57d5a370c01b6b9c9577c4f2be47046df /inc/actions.php
parentf6e1661406b3af965d76120b9acd30c507977e4e (diff)
downloadrpg-d6b9c7bffaacf3b0b983386eca336e4f8d60a2f3.tar.gz
rpg-d6b9c7bffaacf3b0b983386eca336e4f8d60a2f3.tar.bz2
Restore page versions - add timestamp of the restored version to to the summary field.
This allows easier identifying of which version has been restored. (FS#2522)
Diffstat (limited to 'inc/actions.php')
-rw-r--r--inc/actions.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/actions.php b/inc/actions.php
index 4a2e200ae..458926345 100644
--- a/inc/actions.php
+++ b/inc/actions.php
@@ -380,7 +380,7 @@ function act_revert($act){
if($REV){
$text = rawWiki($ID,$REV);
if(!$text) return 'show'; //something went wrong
- $sum = $lang['restored'];
+ $sum = sprintf($lang['restored'], dformat($REV));
}
// spam check