From c66577eed25a7b8f5a7cdafe72e0a31691def135 Mon Sep 17 00:00:00 2001 From: Thorsten Rinne Date: Sat, 22 Jun 2024 11:31:08 +0200 Subject: [PATCH] fix: added missing breaks (#3007) --- phpmyfaq/src/phpMyFAQ/Helper/QuestionHelper.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/phpmyfaq/src/phpMyFAQ/Helper/QuestionHelper.php b/phpmyfaq/src/phpMyFAQ/Helper/QuestionHelper.php index 495db04df4..6f9e7d3230 100644 --- a/phpmyfaq/src/phpMyFAQ/Helper/QuestionHelper.php +++ b/phpmyfaq/src/phpMyFAQ/Helper/QuestionHelper.php @@ -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') . "

User: " . $questionData['username'] . - ', ' . $questionData['email'] . "\n" . Translation::get('msgCategory') . - ': ' . $categories[$questionData['category_id']]['name'] . "\n\n" . + ', ' . $questionData['email'] . "
" . Translation::get('msgCategory') . + ': ' . $categories[$questionData['category_id']]['name'] . "

" . Translation::get('msgAskYourQuestion') . ': ' . - wordwrap((string) $questionData['question'], 72) . "\n\n" . + wordwrap((string) $questionData['question'], 72) . "

" . $this->config->getDefaultUrl() . 'admin/'; $userId = $this->category->getOwner($questionData['category_id']);