From: Bill Erickson Date: Wed, 13 Aug 2014 20:44:50 +0000 (-0400) Subject: LP#1356576 repair sip date_format config typo X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=bdabe1c367859327925a816cef43f5de05faafae;p=evergreen%2Fpines.git LP#1356576 repair sip date_format config typo Avoids "Use of uninitialized value in bitwise or (|)" error. Signed-off-by: Bill Erickson Signed-off-by: Ben Shum --- diff --git a/Open-ILS/src/perlmods/lib/OpenILS/SIP.pm b/Open-ILS/src/perlmods/lib/OpenILS/SIP.pm index 664bb6288b..bd11e1978e 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/SIP.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/SIP.pm @@ -206,7 +206,7 @@ sub format_date { # Due dates need hyphen separators and time of day as well if ($type eq 'due') { - my $use_sdf = $class->get_option_value('use_sip_date_format') | ''; + my $use_sdf = $class->get_option_value('use_sip_date_format') || ''; if ($use_sdf =~ /true/i) { $date = $dt->strftime(SIP_DATETIME);