Add modify trigger to barcode modify.

This commit is contained in:
fappels 2018-06-06 17:11:34 +02:00
parent 81ef355b65
commit 141d19571c

View File

@ -167,7 +167,7 @@ if (empty($reshook))
if ($result >= 0)
{
$result = $object->setValueFrom('barcode', GETPOST('barcode'));
$result = $object->setValueFrom('barcode', GETPOST('barcode'), '', null, 'text', '', $user, 'PRODUCT_MODIFY');
header("Location: ".$_SERVER['PHP_SELF']."?id=".$object->id);
exit;
}