FIX notice var nbfield of array not initialized

This commit is contained in:
VESSILLER 2019-12-26 10:34:10 +01:00
parent 7246b63542
commit 811adad8c8

View File

@ -701,8 +701,10 @@ print_liste_field_titre($selectedfields, $_SERVER["PHP_SELF"], "", '', '', '', $
print "</tr>\n";
$i = 0;
$totalarray = array();
$totalarray['val'] = array();
$totalarray = array(
'nbfield' => 0,
'val' => array(),
);
while ($i < min($num, $limit))
{
$obj = $db->fetch_object($resql);