RSS Feed/News Language fallback behaviour can cause undesired language change

Status
Not open for further replies.

ENXF NET

Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
Joined
Nov 13, 2018
Messages
23,686
Points
823

Reputation:

If xf_user.language_id contains the ID of a language that does not exist (any longer), runtime code will implicity fallback to the default language.

However, when editing language selection (either via ACP or public Account > Preferences) this is not taken into account.

As the language select only shows existing languages, the first entry will be selected implicitly.

This can cause undesired language changes for users.

Suggested Fix
1) Make the fallback explicit for the...

Read more

Continue reading...
 
Status
Not open for further replies.
Top