- Issue created by @spokje
- Status changed to Needs review
about 1 year ago 8:59am 19 September 2023
$form['webtexttool']['tabs_wrapper']['seo']['webtexttool_language']
in webtexttool.node.inc
uses an empty string when $node->webtexttool_language
is not set.
This leads to all entries in DB-table having value 'us' for field 'lang' whenever the "Keyword suggestions language" isn't explicitly set to a language.
Replace empty string with variable_get('webtexttool_language', 'en')
Note: This patch will only correct the behaviour of new nodes. Already processed nodes will have language 'us' by now and need to be updated to the correct language (most probably through a hook_n_update)
Needs review
1.0
Code