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)
committerBen Shum <ben@evergreener.net>
Thu, 21 Sep 2017 17:55:38 +0000 (13:55 -0400)
commit1f10da4df50b6b4605c95e8ed5f6fb2d3e8f57bd
treecafd4963c5e31b269f75b5348e519c3ccc0f3247
parent33b6a01bfa281340c8b455de44544c9b2123c36c
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