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']);