diff --git a/htdocs/fourn/commande/dispatch.php b/htdocs/fourn/commande/dispatch.php index f9ec2a67379..9de6922119f 100644 --- a/htdocs/fourn/commande/dispatch.php +++ b/htdocs/fourn/commande/dispatch.php @@ -451,7 +451,7 @@ if ($action == 'confirm_deleteline' && $confirm == 'yes' && $permissiontoreceive } // Update a dispatched line -if ($action == 'updateline' && $permissiontoreceive) { +if ($action == 'updateline' && $permissiontoreceive && empty($cancel)) { $db->begin(); $error = 0;