fix small issues, move wrong placed menu item

This commit is contained in:
2022-07-13 15:38:53 +02:00
parent b7fc00aa8f
commit 1ed3ae40ef
4 changed files with 10 additions and 4 deletions

View File

@ -40,7 +40,7 @@ class OrderRecipients
public function getSmsRecipient(): Recipient
{
foreach ($this->getSmsRecipientFields() as $phoneFieldName => $countryIdFieldName) {
$content = trim($this->order->getFieldData($phoneFieldName));
$content = trim((string) $this->order->getFieldData($phoneFieldName));
if (strlen($content)) {
$country = oxNew(Country::class);