Browse Source

Merge pull request #19168 from atm-maxime/fix_massmovments

Fix #18916 : mass stock movements not displayed if error while adding line
Laurent Destailleur 3 years ago
parent
commit
664eafd810
1 changed files with 1 additions and 0 deletions
  1. 1 0
      htdocs/product/stock/massstockmove.php

+ 1 - 0
htdocs/product/stock/massstockmove.php

@@ -443,6 +443,7 @@ if ($action == 'confirm_deletefile' && $confirm == 'yes') {
  */
 
 $now = dol_now();
+$error = 0;
 
 $form = new Form($db);
 $formproduct = new FormProduct($db);