Fix regression

This commit is contained in:
Laurent Destailleur 2018-04-11 17:17:03 +02:00
parent c392b9b8ef
commit 0518218aed

View File

@ -60,7 +60,7 @@ if (! empty($conf->global->MAIN_CAN_HIDE_EXTRAFIELDS)) print '<td align="center"
print '<td width="80">&nbsp;</td>';
print "</tr>\n";
if (is_array($extrafields->attribute_type)) && count($extrafields->attribute_type))
if (is_array($extrafields->attribute_type) && count($extrafields->attribute_type))
{
foreach($extrafields->attribute_type as $key => $value)
{