Skip to content

Commit a4bc3a5

Browse files
committed
Merge branch '4.x' into 5.x
2 parents a2ea853 + 439f6e0 commit a4bc3a5

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
- Fixed a bug where the order’s table was showing the incorrect column heading on the Edit User page.
66
- Fixed two high-severity SQL injection vulnerabilities in the control panel. (GHSA-j3x5-mghf-xvfw, GHSA-pmgj-gmm4-jh6j)
7+
- Fixed a moderate-severity XSS vulnerability in the control panel (GHSA-mqxf-2998-c6cp)
78

89
## 5.5.2 - 2025-12-31
910

example-templates/dist/shop/customer/order.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
</div>
3333
<div class="lg:w-1/2 lg:text-right">
3434
{# Display a link to download a PDF if the order has a PDF URL and a PDF has been configured #}
35-
{% if order.pdfUrl and craft.commerce.pdfs.hasEnabledPdf %}
35+
{% if craft.commerce.pdfs.hasEnabledPdf %}
3636
<a href="{{ order.getPdfUrl('receipt') }}" download target="_blank" class="text-blue-500 hover:text-blue-600">
3737
{{ 'Download PDF'|t }}
3838
</a>

example-templates/src/shop/customer/order.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
</div>
3333
<div class="lg:w-1/2 lg:text-right">
3434
{# Display a link to download a PDF if the order has a PDF URL and a PDF has been configured #}
35-
{% if order.pdfUrl and craft.commerce.pdfs.hasEnabledPdf %}
35+
{% if craft.commerce.pdfs.hasEnabledPdf %}
3636
<a href="{{ order.getPdfUrl('receipt') }}" download target="_blank" class="[[classes.a]]">
3737
{{ 'Download PDF'|t }}
3838
</a>

0 commit comments

Comments
 (0)