]> git.wh0rd.org Git - tt-rss.git/commit
Fix automatic language detection for registered users
authorLuc Didry <luc@didry.org>
Thu, 6 Jun 2013 18:54:47 +0000 (21:54 +0300)
committerLuc Didry <luc@didry.org>
Thu, 6 Jun 2013 18:54:47 +0000 (21:54 +0300)
commitc4db796fc7bdd74b17b52c39ad507c68f5a5a07e
tree5777d441c8bcf9a5c76beee0b4d065ffdd253269
parent15a829013c6a04615ad98ecf636d0365f89d5923
Fix automatic language detection for registered users

If you do not choose a language, the db pref record for your language is an empty string, but if you choose "automatic detection" and save your prefs, it's "auto".
"auto" in startup_gettext function prevents ttrss to choose the appropriate language.
include/functions.php