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:
commit
573aac8b04
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user