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:
de003a1
)
Fix selectorother automatic addition of "other" field -- not switched over for the...
author
Andrew Garrett
<werdna@users.mediawiki.org>
Fri, 24 Apr 2009 09:02:21 +0000
(09:02 +0000)
committer
Andrew Garrett
<werdna@users.mediawiki.org>
Fri, 24 Apr 2009 09:02:21 +0000
(09:02 +0000)
includes/HTMLForm.php
patch
|
blob
|
history
diff --git
a/includes/HTMLForm.php
b/includes/HTMLForm.php
index
b41dc4b
..
0db6980
100644
(file)
--- a/
includes/HTMLForm.php
+++ b/
includes/HTMLForm.php
@@
-581,7
+581,7
@@
class HTMLSelectOrOtherField extends HTMLTextField {
function __construct( $params ) {
if (! array_key_exists('other', $params['options']) ) {
- $params['options'][
'other'] = wfMsg( 'htmlform-selectorother-other' )
;
+ $params['options'][
wfMsg( 'htmlform-selectorother-other' )] = 'other'
;
}
parent::__construct( $params );