Fix form fields extraction

[MAILPOET-3296]
This commit is contained in:
Rostislav Wolny
2020-11-26 14:00:34 +01:00
committed by Veljko V
parent 71c515cdcf
commit e2236e45df

View File

@ -73,7 +73,7 @@ class Form extends Model {
continue;
}
if ($field['id'] > 0) {
if ((int)$field['id'] > 0) {
$fields[] = 'cf_' . $field['id'];
} else {
$fields[] = $field['id'];