r113271 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r113270
|
r113271
|
r113272
>
Date:
19:07, 7 March 2012
Author:
jeroendedauw
Status:
ok
Tags:
Comment:
Follow up to
r113142
; fix incorrect conversion to array (value can be array already)
Modified paths:
/trunk/phase3/includes/HTMLForm.php
(modified) (
history
)
Diff
[
purge
]
Index: trunk/phase3/includes/HTMLForm.php
—
—
@@ -1087,7 +1087,7 @@
1088
1088
$helptext = null;
1089
1089
1090
1090
if ( isset( $this->mParams['help-message'] ) ) {
1091
- $this->mParams['help-messages'] = (array)$this->mParams['help-message'];
1091
+ $this->mParams['help-messages'] = array( $this->mParams['help-message'] );
1092
1092
}
1093
1093
1094
1094
if ( isset( $this->mParams['help-messages'] ) ) {
Sign-offs
User
Flag
Date
Rob Schnautz (WMF)
tested
19:38, 7 March 2012
Past revisions this follows-up on
Revision
Commit summary
Author
Date
r113142
follow up to
r113113
, get rid of code ducpliation and fix docs to reflect act...
jeroendedauw
15:36, 6 March 2012
Status & tagging log
06:20, 8 March 2012
Nikerabbit
(
talk
|
contribs
)
changed the
status
of r113271
[
removed:
new
added:
ok]