Resolving issue #3997 for discount type toggle not staying put.

This commit is contained in:
Steve Ireland
2024-07-17 07:41:54 -04:00
committed by jekkos
parent d2622e94d7
commit 82aac4ec79
2 changed files with 2 additions and 2 deletions

View File

@@ -1309,7 +1309,7 @@ class Sale_lib
$line['quantity'] = $quantity;
$line['discount'] = $discount;
if(!empty($discount_type))
if($discount_type != null)
{
$line['discount_type'] = $discount_type;
}