]> git.evergreen-ils.org Git - working/Evergreen.git/commit
TPAC: Silence two uninit variable warnings
authorDan Scott <dscott@laurentian.ca>
Sat, 4 Aug 2012 14:43:31 +0000 (10:43 -0400)
committerBill Erickson <berick@esilibrary.com>
Wed, 15 Aug 2012 17:08:58 +0000 (13:08 -0400)
commita1d4da3f18a282ee6e1ce1bd723b3d8ed0fccfec
tree8e4f7a2569b3dcf761d33451d2b2da35d56bb7ed
parente3bf3c5f473a2c1f1651336be5b8eb966415c4db
TPAC: Silence two uninit variable warnings

These warnings were being thrown on every TPAC page request, slowly
filling the logs:

Use of uninitialized value $set_locale in string eq at
/usr/local/share/perl/5.10.1/OpenILS/WWW/EGWeb.pm line 159.

Use of uninitialized value in pattern match (m//) at
/usr/local/share/perl/5.10.1/OpenILS/WWW/EGCatLoader.pm line 250.

Banish them.

Signed-off-by: Dan Scott <dscott@laurentian.ca>
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader.pm
Open-ILS/src/perlmods/lib/OpenILS/WWW/EGWeb.pm