Skip to content

Commit

Permalink
- fix encoding
Browse files Browse the repository at this point in the history
  • Loading branch information
EwelinaSkrzypacz committed Dec 12, 2024
1 parent 6519eca commit 77115d8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/Http/Requests/StoreRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ public function rules(): array
public function getData(): array
{
return [
"email" => $this->get("email"),
"topic" => $this->get("topic"),
"message" => $this->get("message"),
"email" => mb_convert_encoding($this->get("email"), "UTF-8", "auto"),
"topic" => mb_convert_encoding($this->get("topic"), "UTF-8", "auto"),
"message" => mb_convert_encoding($this->get("message"), "UTF-8", "auto"),
"lang" => app()->getLocale(),
];
}
Expand Down

0 comments on commit 77115d8

Please sign in to comment.