This commit is contained in:
Frédéric FRANCE 2021-02-28 17:17:30 +01:00
parent 2137486e55
commit 709e2459e9
No known key found for this signature in database
GPG Key ID: 06809324E4B2ABC1

View File

@ -523,7 +523,10 @@ $sql .= $db->plimit($limit + 1, $offset);
//print $sql; //print $sql;
$resql = $db->query($sql); $resql = $db->query($sql);
if ($resql) { if (!$resql) {
dol_print_error($db);
exit;
}
$num = $db->num_rows($resql); $num = $db->num_rows($resql);
$reception = new Reception($db); $reception = new Reception($db);
@ -1027,9 +1030,6 @@ if ($resql) {
print "</div>"; print "</div>";
print '</form>'; print '</form>';
$db->free($resql); $db->free($resql);
} else {
dol_print_error($db);
}
llxFooter(); llxFooter();
$db->close(); $db->close();