Fix: [ bug #1618 ] PHP Error thrown when saving a barcode

This commit is contained in:
Laurent Destailleur 2014-10-27 01:56:06 +01:00
parent 41f0920656
commit badf379489
2 changed files with 2 additions and 1 deletions

View File

@ -10,6 +10,7 @@ English Dolibarr ChangeLog
- Fix: box of customer and propsects were not correctly disabled.
- Fix: right and error management #1961
- 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.* *****
For users:

View File

@ -124,7 +124,7 @@ if (empty($reshook))
// Barcode value
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)
{