Fix issue with duplicated company fields
This commit is contained in:
parent
66bfbdc9d9
commit
61eea4fde2
1 changed files with 0 additions and 4 deletions
|
|
@ -137,10 +137,6 @@ class Design extends BaseDesign
|
|||
$elements[] = ['element' => 'p', 'content' => $variable, 'show_empty' => false, 'properties' => ['data-ref' => 'company_details-' . substr($variable, 1)]];
|
||||
}
|
||||
|
||||
foreach (['company1', 'company2', 'company3', 'company4'] as $field) {
|
||||
$elements[] = ['element' => 'p', 'content' => $this->getCustomFieldValue($field), 'show_empty' => false, 'properties' => ['data-ref' => 'company_details-' . $field]];
|
||||
}
|
||||
|
||||
return $elements;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue