Skip to content

Commit

Permalink
Fix error in ClientRequestController.php (Call to a member function f…
Browse files Browse the repository at this point in the history
…ormat() on null)
  • Loading branch information
Rayvented committed Feb 7, 2024
1 parent b4803b8 commit dd33679
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Controller/ClientRequestController.php
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ public function editClientRequests(
$this->translator->trans(id: 'reason', domain: 'general') . ': ' . $clientRequest->getItemString(),
$this->translator->trans(id: 'description', domain: 'general') . ': ' . $clientRequest->getDescription(),
$this->translator->trans(id: 'additionalInformation', domain: 'general') . ': ' . $clientRequest->getFirstname() . ' ' . $clientRequest->getLastname(),
$this->translator->trans(id: 'birthday', domain: 'general') . ': ' . $clientRequest->getBirthday()->format('d.m.Y'),
$this->translator->trans(id: 'birthday', domain: 'general') . ': ' . $clientRequest->getBirthday()?->format('d.m.Y'),
$this->translator->trans(id: 'address', domain: 'general') . ': ' . $clientRequest->getStreet() . ' ' . $clientRequest->getCity(),
];
$content = implode(' | ', $contentArray);
Expand Down

0 comments on commit dd33679

Please sign in to comment.