Add check for defined SUBTOTALS_SPECIAL_CODE (#37666)
Bugfix for #37663
This commit is contained in:
parent
6c70652d29
commit
81aaba6e86
1 changed files with 1 additions and 1 deletions
|
|
@ -5958,7 +5958,7 @@ abstract class CommonObject
|
|||
$this->tpl['strike'] = 0;
|
||||
if ($restrictlist == 'services' && $line->product_type != Product::TYPE_SERVICE) {
|
||||
$this->tpl['strike'] = 1;
|
||||
} elseif ($line->special_code == SUBTOTALS_SPECIAL_CODE) {
|
||||
} elseif (defined('SUBTOTALS_SPECIAL_CODE') && $line->special_code == SUBTOTALS_SPECIAL_CODE) {
|
||||
$this->tpl['strike'] = 1;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue