Skip to content

Commit

Permalink
Fix: Prevent sorting if it is no array
Browse files Browse the repository at this point in the history
  • Loading branch information
jonnitto committed Oct 10, 2024
1 parent 7193c70 commit 034166c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Resources/Private/Modules/Component/EmailData.fusion
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ prototype(Garagist.Mautic:Component.EmailData) < prototype(Neos.Fusion:Component
subject = ${this.properties.subject}
previewText = ${this.properties.previewText}
segments = ${this.properties.segments}
sent = ${Array.sort(props.email.properties.sent)}
sent = ${Carbon.Array.check(props.email.properties.sent) ? Array.sort(props.email.properties.sent) : []}
hrefArguments = Neos.Fusion:DataStructure {
node = ${props.node}
email = ${props.email}
Expand Down

0 comments on commit 034166c

Please sign in to comment.