Skip to content

Commit

Permalink
fix: corrected wrong auto activation of FAQs, closes #3203
Browse files Browse the repository at this point in the history
  • Loading branch information
thorsten committed Oct 21, 2024
1 parent c5b5f10 commit 2743c6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion phpmyfaq/api.service.php
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,7 @@
$faqEntity
->setLanguage(($isTranslation === true ? $newLanguage : $languageCode))
->setQuestion($question)
->setActive(($autoActivate ? FAQ_SQL_ACTIVE_YES : FAQ_SQL_ACTIVE_NO))
->setActive($autoActivate)
->setSticky(false)
->setAnswer($answer)
->setKeywords($keywords)
Expand Down

0 comments on commit 2743c6f

Please sign in to comment.