Fix phpunit

This commit is contained in:
Laurent Destailleur 2020-12-01 11:38:46 +01:00
parent cbcb03bf1e
commit 3538e485a8

View File

@ -595,12 +595,9 @@ if ($action == "delete") {
$sql .= " WHERE ref='(PROV-POS".$db->escape($_SESSION["takeposterminal"]."-".$place).")'"; $sql .= " WHERE ref='(PROV-POS".$db->escape($_SESSION["takeposterminal"]."-".$place).")'";
$resql1 = $db->query($sql); $resql1 = $db->query($sql);
if ($resdeletelines && $resql1) if ($resdeletelines && $resql1) {
{
$db->commit(); $db->commit();
} } else {
else
{
$db->rollback(); $db->rollback();
} }