Skip to content

Commit

Permalink
Fix usage of deprecated saleAmount
Browse files Browse the repository at this point in the history
  • Loading branch information
engram-design committed Jun 22, 2020
1 parent 8fc5bd4 commit a10a341
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/elements/Voucher.php
Original file line number Diff line number Diff line change
Expand Up @@ -509,7 +509,6 @@ public function populateLineItem(LineItem $lineItem)
if (isset($options['amount'])) {
$lineItem->price = $options['amount'];
$lineItem->salePrice = $options['amount'];
$lineItem->saleAmount = 0;
}
}
}
Expand Down

0 comments on commit a10a341

Please sign in to comment.