Merge pull request #14514 from FHenry/develop
fix php warning : count parameters must be countable
This commit is contained in:
commit
55c0c1d734
@ -1124,7 +1124,7 @@ if ($resql)
|
|||||||
if (!empty($arrayfields['typent.code']['checked']))
|
if (!empty($arrayfields['typent.code']['checked']))
|
||||||
{
|
{
|
||||||
print '<td class="center">';
|
print '<td class="center">';
|
||||||
if (count($typenArray) == 0) $typenArray = $formcompany->typent_array(1);
|
if (empty($typenArray)) $typenArray = $formcompany->typent_array(1);
|
||||||
print $typenArray[$obj->typent_code];
|
print $typenArray[$obj->typent_code];
|
||||||
print '</td>';
|
print '</td>';
|
||||||
if (!$i) $totalarray['nbfield']++;
|
if (!$i) $totalarray['nbfield']++;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user