Failover to language '000' (unknown/default)
authorJoe Atzberger <atz@esilibrary.com>
Tue, 1 Jun 2010 17:45:03 +0000 (17:45 +0000)
committerThomas Berezansky <tsbere@mvlc.org>
Tue, 1 Jun 2010 17:45:03 +0000 (17:45 +0000)
Sip/MsgType.pm

index 55555aa..822eff2 100644 (file)
@@ -443,6 +443,7 @@ sub handle {
 # 
 sub build_patron_status {
     my ($patron, $lang, $fields)= @_;
+    $lang ||= '000';
     my $patron_pwd = $fields->{(FID_PATRON_PWD)};
     my $resp = (PATRON_STATUS_RESP);