Skip to content
Snippets Groups Projects
Commit 1101fb21 authored by JediKev's avatar JediKev
Browse files

i18n: Fix getPrimaryLanguage() on non-object

This addresses issues #1964 & #3668 where $cfg might be null and cause a
non-object error. Check if $cfg is set, if not return the default
en_US language.
parent c0ab9679
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment