Merge pull request #32401 from FHenry/19_missing_token_delete_production_bom

fix: missing token on delete line on MO
This commit is contained in:
Laurent Destailleur 2024-12-18 12:12:39 +01:00 committed by GitHub
commit aa2af316e5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1644,6 +1644,7 @@ if ($object->id > 0 && (empty($action) || ($action != 'edit' && $action != 'crea
$href = $_SERVER["PHP_SELF"];
$href .= '?id='.$object->id;
$href .= '&action=deleteline';
$href .= '&token='.newToken();
$href .= '&lineid='.$line->id;
print '<td class="center">';
print '<a class="reposition" href="'.$href.'">';