Fix: [ bug #1618 ] PHP Error thrown when saving a barcode
This commit is contained in:
parent
41f0920656
commit
badf379489
@ -10,6 +10,7 @@ English Dolibarr ChangeLog
|
|||||||
- Fix: box of customer and propsects were not correctly disabled.
|
- Fix: box of customer and propsects were not correctly disabled.
|
||||||
- Fix: right and error management #1961
|
- Fix: right and error management #1961
|
||||||
- Fix: Fix Error when trying to clone an Order #1943
|
- Fix: Fix Error when trying to clone an Order #1943
|
||||||
|
- Fix: [ bug #1618 ] PHP Error thrown when saving a barcode
|
||||||
|
|
||||||
***** ChangeLog for 3.6.1 compared to 3.6.* *****
|
***** ChangeLog for 3.6.1 compared to 3.6.* *****
|
||||||
For users:
|
For users:
|
||||||
|
|||||||
@ -124,7 +124,7 @@ if (empty($reshook))
|
|||||||
// Barcode value
|
// Barcode value
|
||||||
if ($action == 'setbarcode' && $createbarcode)
|
if ($action == 'setbarcode' && $createbarcode)
|
||||||
{
|
{
|
||||||
$result=$object->check_barcode(GETPOST('barcode'),GETPOT('barcode_type_code'));
|
$result=$object->check_barcode(GETPOST('barcode'),GETPOST('barcode_type_code'));
|
||||||
|
|
||||||
if ($result >= 0)
|
if ($result >= 0)
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user