Fix notice
This commit is contained in:
parent
b27aed5753
commit
2f97b16a91
|
@ -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 );
|
||||
|
|
Loading…
Reference in New Issue