Merge branch '8.0' of git@github.com:Dolibarr/dolibarr.git into 9.0

This commit is contained in:
Laurent Destailleur 2019-10-18 14:26:09 +02:00
commit ce1b443212

View File

@ -137,7 +137,6 @@ if ($action == 'order' && isset($_POST['valid']))
if ($qty)
{
//might need some value checks
$obj = $db->fetch_object($resql);
$line = new CommandeFournisseurLigne($db);
$line->qty = $qty;
$line->fk_product = $idprod;
@ -176,7 +175,7 @@ if ($action == 'order' && isset($_POST['valid']))
$error=$db->lasterror();
dol_print_error($db);
}
$db->free($resql);
unset($_POST['fourn' . $i]);
}
unset($_POST[$i]);