diff --git a/apps/content-analysis/src/utils/registerPremiumAssessments.js b/apps/content-analysis/src/utils/registerPremiumAssessments.js index 42ffe0c02f0..a639f7ec014 100644 --- a/apps/content-analysis/src/utils/registerPremiumAssessments.js +++ b/apps/content-analysis/src/utils/registerPremiumAssessments.js @@ -36,7 +36,7 @@ const configs = { const pluginName = "YoastSEOPremium"; export default function( worker, language ) { - if ( getLanguagesWithWordComplexity( language ) ) { + if ( getLanguagesWithWordComplexity().includes( language ) ) { // Get the word complexity config for the specific language. const wordComplexityConfig = configs[ language ]; // Get the word complexity helper for the specific language.