Merge pull request #12594 from frederic34/patch-8

The variable xxx does not seem to be defined for all exec paths
This commit is contained in:
Laurent Destailleur 2019-12-03 13:22:18 +01:00 committed by GitHub
commit 573aac8b04
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -689,6 +689,11 @@ class DiscountAbsolute
global $langs;
$result='';
$link = '';
$linkend = '';
$label = '';
$picto = '';
$ref = '';
if ($option == 'invoice') {
$facid=! empty($this->discount_type)?$this->fk_invoice_supplier_source:$this->fk_facture_source;