From 141d19571cc2e656ac4ad88e80ab7cdd2876c975 Mon Sep 17 00:00:00 2001 From: fappels Date: Wed, 6 Jun 2018 17:11:34 +0200 Subject: [PATCH] Add modify trigger to barcode modify. --- htdocs/product/card.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/product/card.php b/htdocs/product/card.php index 34df9ae725c..03cfbc7f841 100644 --- a/htdocs/product/card.php +++ b/htdocs/product/card.php @@ -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; }