Fix notice

This commit is contained in:
Mike Jolley 2015-12-14 14:05:00 +00:00
parent b27aed5753
commit 2f97b16a91
1 changed files with 1 additions and 1 deletions

View File

@ -237,7 +237,7 @@ abstract class WC_Settings_API {
$html = '';
foreach ( $form_fields as $k => $v ) {
$type = $this->get_field_type( $field );
$type = $this->get_field_type( $v );
if ( method_exists( $this, 'generate_' . $type . '_html' ) ) {
$html .= $this->{'generate_' . $type . '_html'}( $k, $v );