summaryrefslogtreecommitdiff
path: root/inc/html.php
diff options
context:
space:
mode:
authorChristopher Smith <chris@jalakai.co.uk>2014-03-02 21:00:08 +0000
committerChristopher Smith <chris@jalakai.co.uk>2014-03-02 21:00:08 +0000
commitf327a5f0a9ef72e6dd79d9d200f81c330aa4903c (patch)
tree2d2a398218964e3bee0876385f9c8786a3baf8de /inc/html.php
parent446b5b5934799f1f906ea8903b1e96c981f1c1b2 (diff)
parent709fd92548efedbd4b4e5693097165d1dff072e4 (diff)
downloadrpg-f327a5f0a9ef72e6dd79d9d200f81c330aa4903c.tar.gz
rpg-f327a5f0a9ef72e6dd79d9d200f81c330aa4903c.tar.bz2
Merge branch 'master' into FS#2388
Diffstat (limited to 'inc/html.php')
-rw-r--r--inc/html.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/html.php b/inc/html.php
index 928991ae2..fcec29670 100644
--- a/inc/html.php
+++ b/inc/html.php
@@ -1189,7 +1189,7 @@ function html_diff($text='',$intro=true,$type=null){
$diffurl = wl($ID, array(
'do' => 'diff',
'rev2[0]' => $l_rev,
- 'rev2[1]' => $r_rev,
+ 'rev2[1]' => $r_rev ? $r_rev : $INFO['currentrev'], // link to exactly this view FS#2835
'difftype' => $type,
));
ptln('<p><a class="wikilink1" href="'.$diffurl.'">'.$lang['difflink'].'</a></p>');