Update html.formmail.class.php
This commit is contained in:
parent
0ce3acf52f
commit
7cd085fd0b
@ -1551,7 +1551,7 @@ class FormMail extends Form
|
|||||||
|
|
||||||
if (!empty($extrafields->attributes[$product->table_element]['label']) && is_array($extrafields->attributes[$product->table_element]['label']) && count($extrafields->attributes[$product->table_element]['label']) > 0) {
|
if (!empty($extrafields->attributes[$product->table_element]['label']) && is_array($extrafields->attributes[$product->table_element]['label']) && count($extrafields->attributes[$product->table_element]['label']) > 0) {
|
||||||
foreach ($extrafields->attributes[$product->table_element]['label'] as $key => $label) {
|
foreach ($extrafields->attributes[$product->table_element]['label'] as $key => $label) {
|
||||||
isset($product->array_options['options_'.$key]) ? $substit_line['__PRODUCT_EXTRAFIELD_'.strtoupper($key).'__'] = $product->array_options['options_'.$key] : '';
|
$substit_line['__PRODUCT_EXTRAFIELD_'.strtoupper($key).'__'] = isset($product->array_options['options_'.$key]) ? $product->array_options['options_'.$key] : '';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user