diff --git a/htdocs/product/stock/stocktransfer/stocktransfer_card.php b/htdocs/product/stock/stocktransfer/stocktransfer_card.php index 77c6a85c4ddda..832274dd4737d 100644 --- a/htdocs/product/stock/stocktransfer/stocktransfer_card.php +++ b/htdocs/product/stock/stocktransfer/stocktransfer_card.php @@ -2,7 +2,6 @@ /* Copyright (C) 2017 Laurent Destailleur * Copyright (C) 2024-2025 MDW * Copyright (C) 2024-2025 Frédéric France - * Copyright (C) 2025 Pierre Ardoin * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -885,9 +884,7 @@ print img_edit() . ''; print ''; print ''; - // Ensure the delete line link embeds a CSRF token. - $deleteLineUrl = $_SERVER["PHP_SELF"] . '?id=' . $id . '&action=deleteline&lineid=' . $line->id . '&token=' . newToken(); - print '' . img_delete($langs->trans("Remove")) . ''; + print 'id . '">' . img_delete($langs->trans("Remove")) . ''; print ''; }