FIX - $totalarray['nbfield']++;

This commit is contained in:
Anthony Berton 2022-10-26 16:05:10 +02:00
parent 2ed2f74c8a
commit 12db216f1e

View File

@ -1950,6 +1950,10 @@ if ($resql) {
}
print '<input id="cb'.$obj->rowid.'" class="flat checkforselect" type="checkbox" name="toselect[]" value="'.$obj->rowid.'"'.($selected ? ' checked="checked"' : '').'>';
}
if (!$i) {
$totalarray['nbfield']++;
}
print '</td>';
}
// Ref
@ -2566,9 +2570,9 @@ if ($resql) {
print '<input id="cb'.$obj->rowid.'" class="flat checkforselect" type="checkbox" name="toselect[]" value="'.$obj->rowid.'"'.($selected ? ' checked="checked"' : '').'>';
}
print '</td>';
}
if (!$i) {
$totalarray['nbfield']++;
if (!$i) {
$totalarray['nbfield']++;
}
}
print "</tr>\n";