r105454 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r105453
|
r105454
|
r105455
>
Date:
19:40, 7 December 2011
Author:
kaldari
Status:
ok
Tags:
Comment:
make sure fudge factor is number (again) to be safe
Modified paths:
/trunk/extensions/ContributionReporting/ContributionReporting.php
(modified) (
history
)
Diff
[
purge
]
Index: trunk/extensions/ContributionReporting/ContributionReporting.php
—
—
@@ -225,6 +225,11 @@
226
226
227
227
# Output
228
228
$output = $row['ttl'] ? $row['ttl'] : '0';
229
+
230
+ // Make sure fudge factor is a number
231
+ if ( is_nan( $fudgeFactor ) ) {
232
+ $fudgeFactor = 0;
233
+ }
229
234
230
235
$output += $fudgeFactor;
231
236
Follow-up revisions
Revision
Commit summary
Author
Date
r105485
MFT
r105051
,
r105064
,
r105145
,
r105214
,
r105353
,
r105454
awjrichards
23:27, 7 December 2011
r106696
MFT
r105145
,
r105454
,
r105641
,
r105657
,
r105659
,
r105757
,
r105916
,
r105965
,
r...
awjrichards
20:59, 19 December 2011
Status & tagging log
23:10, 7 December 2011
Awjrichards
(
talk
|
contribs
)
changed the
status
of r105454
[
removed:
new
added:
ok]