modules/base: dispatcher: use default language if automatic choice fails 659/head
authorMatthias Schiffer <mschiffer@universe-factory.net>
Tue, 1 Mar 2016 16:25:55 +0000 (17:25 +0100)
committerMatthias Schiffer <mschiffer@universe-factory.net>
Tue, 1 Mar 2016 16:25:55 +0000 (17:25 +0100)
commitc8675d0c5560fb47eace7db531c381edbef25db7
treeb7c7187fff5df9a3c1fa0cc828f54972f6f971dd
parent1d562672cdcfb84222b9e01ac07775d74e53c7cf
modules/base: dispatcher: use default language if automatic choice fails

Fall back to default language if "auto" is configured, but none provided by
the browser matches.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
modules/luci-base/luasrc/dispatcher.lua