Skip to content

Commit

Permalink
fix smileys wurden auch angezeigt wenn das Modul deaktiviert war
Browse files Browse the repository at this point in the history
  • Loading branch information
Hanashi committed Nov 2, 2024
1 parent 0a40ab5 commit ddbb909
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion files/lib/acp/form/FaqQuestionAddForm.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ protected function createForm()
->label('wcf.acp.faq.question.answer')
->messageObjectType('dev.tkirch.wsc.faq.question')
->attachmentData('dev.tkirch.wsc.faq.question')
->supportSmilies(true)
->required(),
]);
}
Expand All @@ -139,8 +140,8 @@ protected function createForm()
: WysiwygFormContainer::create('answer')
->label('wcf.acp.faq.question.answer')
->messageObjectType('dev.tkirch.wsc.faq.question')
// ->messageLanguageItemPattern('wcf.faq.question.answer\d+')
->attachmentData('dev.tkirch.wsc.faq.question')
->supportSmilies(true)
->required()
),
FormContainer::create('position')
Expand Down

0 comments on commit ddbb909

Please sign in to comment.