@@ -64,7 +64,7 @@ switch ($block->getCheckoutType()):
64
64
name="giftmessage[quote][<?= (int ) $ block ->getEntity ()->getId () ?> ][from]"
65
65
id="gift-message-whole-from"
66
66
title="<?= $ block ->escapeHtmlAttr (__ ('From ' )) ?> "
67
- value="<?= /* @noEscape */ $ block ->getEscaped ($ block ->getMessage ()->getSender () ?? '' , $ block ->getDefaultFrom ()) ?> "
67
+ value="<?= /* @noEscape */ $ block ->getEscaped ($ block ->getMessage ()->getSender (), $ block ->getDefaultFrom ()) ?> "
68
68
class="input-text">
69
69
</div>
70
70
</div>
@@ -76,7 +76,7 @@ switch ($block->getCheckoutType()):
76
76
<input type="text"
77
77
name="giftmessage[quote][<?= (int ) $ block ->getEntity ()->getId () ?> ][to]"
78
78
id="gift-message-whole-to" title="<?= $ block ->escapeHtmlAttr (__ ('To ' )) ?> "
79
- value="<?= /* @noEscape */ $ block ->getEscaped ($ block ->getMessage ()->getRecipient () ?? '' , $ block ->getDefaultTo ()) ?> "
79
+ value="<?= /* @noEscape */ $ block ->getEscaped ($ block ->getMessage ()->getRecipient (), $ block ->getDefaultTo ()) ?> "
80
80
class="input-text">
81
81
</div>
82
82
</div>
@@ -165,7 +165,7 @@ script;
165
165
value=
166
166
"<?= /* @noEscape */
167
167
$ block ->getEscaped (
168
- $ block ->getMessage ($ _item )->getSender () ?? '' ,
168
+ $ block ->getMessage ($ _item )->getSender (),
169
169
$ block ->getDefaultFrom ()
170
170
) ?> " class="input-text">
171
171
</div>
@@ -179,7 +179,7 @@ script;
179
179
name="giftmessage[quote_item][<?= (int ) $ _item ->getId () ?> ][to]"
180
180
id="gift-message-<?= (int ) $ _item ->getId () ?> -to"
181
181
title="<?= $ block ->escapeHtmlAttr (__ ('To ' )) ?> "
182
- value="<?= /* @noEscape */ $ block ->getEscaped ($ block ->getMessage ($ _item )->getRecipient () ?? '' , $ block ->getDefaultTo ()) ?> "
182
+ value="<?= /* @noEscape */ $ block ->getEscaped ($ block ->getMessage ($ _item )->getRecipient (), $ block ->getDefaultTo ()) ?> "
183
183
class="input-text">
184
184
</div>
185
185
</div>
@@ -291,7 +291,7 @@ script;
291
291
->getId () ?> ][from]"
292
292
id="gift-message-<?= (int ) $ block ->getEntity ()->getId () ?> -from"
293
293
title="<?= $ block ->escapeHtmlAttr (__ ('From ' )) ?> "
294
- value="<?= /* @noEscape */ $ block ->getEscaped ($ block ->getMessage ()->getSender () ?? '' , $ block ->getDefaultFrom ()) ?> "
294
+ value="<?= /* @noEscape */ $ block ->getEscaped ($ block ->getMessage ()->getSender (), $ block ->getDefaultFrom ()) ?> "
295
295
class="input-text">
296
296
</div>
297
297
</div>
@@ -304,7 +304,7 @@ script;
304
304
->getId () ?> ][to]"
305
305
id="gift-message-<?= (int ) $ block ->getEntity ()->getId () ?> -to"
306
306
title="<?= $ block ->escapeHtmlAttr (__ ('To ' )) ?> "
307
- value="<?= /* @noEscape */ $ block ->getEscaped ($ block ->getMessage ()->getRecipient () ?? '' , $ block ->getDefaultTo ()) ?> "
307
+ value="<?= /* @noEscape */ $ block ->getEscaped ($ block ->getMessage ()->getRecipient (), $ block ->getDefaultTo ()) ?> "
308
308
class="input-text">
309
309
</div>
310
310
</div>
@@ -391,7 +391,7 @@ script;
391
391
name="giftmessage[quote_address_item][<?= (int ) $ _item ->getId ()
392
392
?> ][from]" id="gift-message-<?= (int ) $ _item ->getId () ?> -from"
393
393
title="<?= $ block ->escapeHtmlAttr (__ ('From ' )) ?> "
394
- value="<?= /* @noEscape */ $ block ->getEscaped ($ block ->getMessage ($ _item )->getSender () ?? '' , $ block ->getDefaultFrom ()) ?> "
394
+ value="<?= /* @noEscape */ $ block ->getEscaped ($ block ->getMessage ($ _item )->getSender (), $ block ->getDefaultFrom ()) ?> "
395
395
class="input-text">
396
396
</div>
397
397
</div>
@@ -404,7 +404,7 @@ script;
404
404
name="giftmessage[quote_address_item][<?= (int ) $ _item ->getId ()
405
405
?> ][to]" id="gift-message-<?= (int ) $ _item ->getId () ?> -to"
406
406
title="<?= $ block ->escapeHtmlAttr (__ ('To ' )) ?> "
407
- value="<?= /* @noEscape */ $ block ->getEscaped ($ block ->getMessage ($ _item )->getRecipient () ?? '' , $ block ->getDefaultTo ()) ?> "
407
+ value="<?= /* @noEscape */ $ block ->getEscaped ($ block ->getMessage ($ _item )->getRecipient (), $ block ->getDefaultTo ()) ?> "
408
408
class="input-text">
409
409
</div>
410
410
</div>
0 commit comments