r99132 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r99131‎ | r99132 | r99133 >
Date:19:59, 6 October 2011
Author:yaron
Status:deferred
Tags:
Comment:
Fix to r99085
Modified paths:
  • /trunk/extensions/SemanticForms/includes/forminputs/SF_TextInput.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticForms/includes/forminputs/SF_TextInput.php
@@ -94,7 +94,8 @@
9595 $size = 35;
9696 $inputType = '';
9797 if ( array_key_exists( 'field_type', $other_args ) &&
98 - !array_key_exists( 'is_list', $other_args ) ) {
 98+ ( !array_key_exists( 'is_list', $other_args ) ||
 99+ !$other_args['is_list'] ) ) {
99100 if ( $other_args['field_type'] == 'number' ) {
100101 $size = 10;
101102 $inputType = 'number';

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r99085Fixed validation of property type (Number, URL, Email) to only happen if the ...yaron10:57, 6 October 2011