The variable xxx does not seem to be defined for all exec paths

This commit is contained in:
Frédéric FRANCE 2019-12-01 20:44:13 +01:00 committed by GitHub
parent 5cb014435b
commit 454d79db58
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;