Fix non-text form fields not being sent to server [MAILPOET-909]

This commit is contained in:
stoletniy
2017-05-11 18:12:57 +03:00
parent a3e8d47199
commit 2b7a5452b8
6 changed files with 6 additions and 6 deletions

View File

@@ -8,7 +8,7 @@ class Select extends Base {
static function render($block) {
$html = '';
$field_name = static::getFieldName($block);
$field_name = 'data[' . static::getFieldName($block) . ']';
$field_validation = static::getInputValidation($block);
$html .= '<p class="mailpoet_paragraph">';