Skip to content

Commit

Permalink
Fix deprecation warning from number_format() method when get null v…
Browse files Browse the repository at this point in the history
…alue from

PriceHelper.
  • Loading branch information
lubos-michalik committed Jul 10, 2024
1 parent a9f50bc commit 753656d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/templates/Shop/productList.latte
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
<tr>
<td>
<div class="price">
<span class="catalog-price" n:if="$product->catalog_price != $product->price">
<span class="catalog-price" n:if="$product->catalog_price && $product->catalog_price != $product->price">
{$product->catalog_price|price}
</span>
{$product->price|price}
Expand Down

0 comments on commit 753656d

Please sign in to comment.