LP#1717777: Ensure the en-US is always represented in the dropdown
authorMike Rylander <mrylander@gmail.com>
Thu, 21 Sep 2017 17:51:41 +0000 (13:51 -0400)
committerChris Sharp <csharp@georgialibraries.org>
Fri, 22 Sep 2017 18:37:09 +0000 (14:37 -0400)
commitbe528e14f236964151183573a5e739fb1f26c41f
treef6c13ee9618c363ca9cea11e9685d795ecff752b
parentc418bf1b69216764ba0ca930ff6b6d92aad65a96
LP#1717777: Ensure the en-US is always represented in the dropdown

The assumption of an array in the eval'd code was causing the forced
en_us tag to fail.  Here we push the default en_us into the list of
locales in a more structured way to ensure that failure doesn't happen.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Ben Shum <ben@evergreener.net>
Open-ILS/src/perlmods/lib/OpenILS/WWW/EGWeb.pm