Skip to content

Commit

Permalink
fix: added missing breaks (#3007)
Browse files Browse the repository at this point in the history
  • Loading branch information
thorsten committed Jun 22, 2024
1 parent b4f31e9 commit c66577e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions phpmyfaq/src/phpMyFAQ/Helper/QuestionHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,12 @@ public function __construct(private readonly Configuration $config, private read
*/
public function sendSuccessMail(array $questionData, array $categories): void
{
$questionMail = Translation::get('msgNewQuestionAdded') . "\n\n User: " .
$questionMail = Translation::get('msgNewQuestionAdded') . "<br><br> User: " .
$questionData['username'] .
', ' . $questionData['email'] . "\n" . Translation::get('msgCategory') .
': ' . $categories[$questionData['category_id']]['name'] . "\n\n" .
', ' . $questionData['email'] . "<br>" . Translation::get('msgCategory') .
': ' . $categories[$questionData['category_id']]['name'] . "<br><br>" .
Translation::get('msgAskYourQuestion') . ': ' .
wordwrap((string) $questionData['question'], 72) . "\n\n" .
wordwrap((string) $questionData['question'], 72) . "<br><br>" .
$this->config->getDefaultUrl() . 'admin/';

$userId = $this->category->getOwner($questionData['category_id']);
Expand Down

0 comments on commit c66577e

Please sign in to comment.