r102470 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r102469
|
r102470
|
r102471
>
Date:
00:31, 9 November 2011
Author:
jpostlethwaite
Status:
ok
Tags:
fundraising
Comment:
It is unnecessary to check if the variable exists. This is done a little earlier in the code. See
r100074
.
Modified paths:
/trunk/extensions/DonationInterface/gateway_common/gateway.adapter.php
(modified) (
history
)
Diff
[
purge
]
Index: trunk/extensions/DonationInterface/gateway_common/gateway.adapter.php
—
—
@@ -542,7 +542,7 @@
543
543
} else {
544
544
//return the default for that form value
545
545
546
- $tempField = isset( $this->var_map[ $gateway_field_name ] ) ? $this->var_map[ $gateway_field_name ] : false;
546
+ $tempField = $this->var_map[ $gateway_field_name ];
547
547
548
548
$tempValue = '';
549
549
Follow-up revisions
Revision
Commit summary
Author
Date
r102732
MFT
r100644
,
r100785
,
r101785
,
r102120
,
r102318
,
r102332
,
r102341
,
r102342
,
r...
awjrichards
01:31, 11 November 2011
Past revisions this follows-up on
Revision
Commit summary
Author
Date
r100074
Preventing notices from unset indices in arrays.
jpostlethwaite
19:35, 17 October 2011
Status & tagging log
23:22, 10 November 2011
Awjrichards
(
talk
|
contribs
)
changed the
status
of r102470
[
removed:
new
added:
ok]
21:39, 9 November 2011
Jpostlethwaite
(
talk
|
contribs
)
changed the
tags
for r102470
[
added:
fundraising]