http://www.mediawiki.org/wiki/Special:Code/MediaWiki/99132
Revision: 99132 Author: yaron Date: 2011-10-06 19:59:44 +0000 (Thu, 06 Oct 2011) Log Message: ----------- Fix to r99085 Modified Paths: -------------- trunk/extensions/SemanticForms/includes/forminputs/SF_TextInput.php Modified: trunk/extensions/SemanticForms/includes/forminputs/SF_TextInput.php =================================================================== --- trunk/extensions/SemanticForms/includes/forminputs/SF_TextInput.php 2011-10-06 19:57:23 UTC (rev 99131) +++ trunk/extensions/SemanticForms/includes/forminputs/SF_TextInput.php 2011-10-06 19:59:44 UTC (rev 99132) @@ -94,7 +94,8 @@ $size = 35; $inputType = ''; if ( array_key_exists( 'field_type', $other_args ) && - !array_key_exists( 'is_list', $other_args ) ) { + ( !array_key_exists( 'is_list', $other_args ) || + !$other_args['is_list'] ) ) { if ( $other_args['field_type'] == 'number' ) { $size = 10; $inputType = 'number'; _______________________________________________ MediaWiki-CVS mailing list MediaWiki-CVS@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs