projects
/
evergreen
/
pines.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
82b743d
)
LP#1356576 repair sip date_format config typo
author
Bill Erickson
<berick@esilibrary.com>
Wed, 13 Aug 2014 20:44:50 +0000
(16:44 -0400)
committer
Ben Shum
<bshum@biblio.org>
Thu, 18 Sep 2014 20:40:24 +0000
(16:40 -0400)
Avoids "Use of uninitialized value in bitwise or (|)" error.
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Ben Shum <bshum@biblio.org>
Open-ILS/src/perlmods/lib/OpenILS/SIP.pm
patch
|
blob
|
history
diff --git
a/Open-ILS/src/perlmods/lib/OpenILS/SIP.pm
b/Open-ILS/src/perlmods/lib/OpenILS/SIP.pm
index
664bb62
..
bd11e19
100644
(file)
--- 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);