fix: token for scan inventory
This commit is contained in:
parent
24651aaa6c
commit
534cb8f0a0
@ -609,7 +609,7 @@ if ($object->id > 0) {
|
||||
if ($permissiontoadd) {
|
||||
// Link to launch scan tool
|
||||
if (!empty($conf->barcode->enabled) || !empty($conf->productbatch->enabled)) {
|
||||
print '<a href="'.$_SERVER["PHP_SELF"].'?id='.$object->id.'&action=updatebyscaning" class="marginrightonly paddingright marginleftonly paddingleft">'.img_picto('', 'barcode', 'class="paddingrightonly"').$langs->trans("UpdateByScaning").'</a>';
|
||||
print '<a href="'.$_SERVER["PHP_SELF"].'?id='.$object->id.'&action=updatebyscaning&token='.currentToken().'" class="marginrightonly paddingright marginleftonly paddingleft">'.img_picto('', 'barcode', 'class="paddingrightonly"').$langs->trans("UpdateByScaning").'</a>';
|
||||
}
|
||||
|
||||
// Link to autofill
|
||||
|
||||
Loading…
Reference in New Issue
Block a user