From 4c1768afd5300f0e9d4484ca2ec4e8f02b482a3d Mon Sep 17 00:00:00 2001 From: Lucas Marcouiller <45882981+Hystepik@users.noreply.github.com> Date: Fri, 31 May 2024 15:25:31 +0200 Subject: [PATCH] Fix #29622 reverse movement cancelation (#29792) Co-authored-by: Hystepik --- htdocs/product/stock/movement_list.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/product/stock/movement_list.php b/htdocs/product/stock/movement_list.php index 237aa328e52..cf5849f3a5d 100644 --- a/htdocs/product/stock/movement_list.php +++ b/htdocs/product/stock/movement_list.php @@ -588,7 +588,7 @@ if ($action == "transfert_stock" && !$cancel) { } // reverse mouvement of stock -if ($action == 'confirm_reverse') { +if ($action == 'confirm_reverse' && $confirm == "yes") { $listMouvement = array(); $toselect = array_map('intval', $toselect);