Fix multiselect name Closes #2259

This commit is contained in:
Mike Jolley 2013-01-21 10:48:26 +00:00
parent 3003e9bae9
commit 7fceb30c07
1 changed files with 1 additions and 1 deletions

View File

@ -694,7 +694,7 @@ function woocommerce_admin_fields( $options ) {
</th>
<td class="forminp forminp-<?php echo sanitize_title( $value['type'] ) ?>">
<select
name="<?php echo esc_attr( $value['id'] ); ?>"
name="<?php echo esc_attr( $value['id'] ); ?><?php if ( $value['type'] == 'multiselect' ) echo '[]'; ?>"
id="<?php echo esc_attr( $value['id'] ); ?>"
style="<?php echo esc_attr( $value['css'] ); ?>"
class="<?php echo esc_attr( $value['class'] ); ?>"