diff --git a/htdocs/install/repair.php b/htdocs/install/repair.php index e354b2a30da..952c22baa44 100644 --- a/htdocs/install/repair.php +++ b/htdocs/install/repair.php @@ -545,7 +545,7 @@ if ($ok && GETPOST('clean_product_stock_batch')) print ''.$obj->rowid.'-'.$obj->ref.'-'.$obj->fk_entrepot.' -> '.$obj->psrowid.': '.$obj->reel.' != '.$obj->reelbatch; // Fix - if ($obj->reel > $obj->reelbatch) + if ($obj->reel != $obj->reelbatch) { $methodtofix='updatestock';