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:
73994ed
)
Fixed exception in diff size formatter.
author
Aaron
<aschulz@wikimedia.org>
Tue, 3 Jul 2012 18:20:24 +0000
(11:20 -0700)
committer
Aaron
<aschulz@wikimedia.org>
Tue, 3 Jul 2012 18:20:24 +0000
(11:20 -0700)
Change-Id: Iaa4887453ba6b136e507e51af6c80849b7c6873c
includes/ChangesList.php
patch
|
blob
|
history
diff --git
a/includes/ChangesList.php
b/includes/ChangesList.php
index
da56050
..
69d4282
100644
(file)
--- a/
includes/ChangesList.php
+++ b/
includes/ChangesList.php
@@
-210,6
+210,8
@@
class ChangesList extends ContextSource {
$context = RequestContext::getMain();
}
+ $new = (int)$new;
+ $old = (int)$old;
$szdiff = $new - $old;
$lang = $context->getLanguage();