dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1d88445
)
Fix for problem diffing with current revision
author
Mr. E23
<e23@users.mediawiki.org>
Fri, 6 Feb 2004 14:46:01 +0000
(14:46 +0000)
committer
Mr. E23
<e23@users.mediawiki.org>
Fri, 6 Feb 2004 14:46:01 +0000
(14:46 +0000)
includes/PageHistory.php
patch
|
blob
|
history
diff --git
a/includes/PageHistory.php
b/includes/PageHistory.php
index
58a4a21
..
52bf8f8
100644
(file)
--- a/
includes/PageHistory.php
+++ b/
includes/PageHistory.php
@@
-118,7
+118,7
@@
class PageHistory {
return false;
}
function dodiff(v1, v2){
- if(v2 > v1){ tmp = v1; v1 = v2; v2 = tmp; }
+ if(v2 > v1
&& v1 != 0
){ tmp = v1; v1 = v2; v2 = tmp; }
u = \"{$url}&diff=\" + v1 + \"&oldid=\" + v2;
location.href=u;
}