Skip to content

Commit

Permalink
Fix syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Oct 6, 2019
1 parent 1285f71 commit a3d0b9e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions htdocs/core/tpl/advtarget.tpl.php
Expand Up @@ -466,8 +466,8 @@
if($value == 'radio')$value = 'select';
}

foreach ($extrafields-> as $key => $val) {

foreach ($extrafields->attributes[$elementtype]['label'] as $key => $val)
{
print '<tr><td>' . $extrafields->attributes[$elementtype]['label'][$key];
if ($array_query['options_' . $key . '_cnct'] != '' || (is_array($array_query['options_' . $key . '_cnct']) && count($array_query['options_' . $key . '_cnct']) > 0)) {
print img_picto($langs->trans('AdvTgtUse'), 'ok.png@advtargetemailing');
Expand Down

0 comments on commit a3d0b9e

Please sign in to comment.