[open-ils-commits] [GIT] Evergreen ILS branch master updated. bdabe1c367859327925a816cef43f5de05faafae

Evergreen Git git at git.evergreen-ils.org
Thu Sep 18 16:40:38 EDT 2014


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".

The branch, master has been updated
       via  bdabe1c367859327925a816cef43f5de05faafae (commit)
      from  82b743d9dd404cd4d96912781cb2e543eee519af (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit bdabe1c367859327925a816cef43f5de05faafae
Author: Bill Erickson <berick at esilibrary.com>
Date:   Wed Aug 13 16:44:50 2014 -0400

    LP#1356576 repair sip date_format config typo
    
    Avoids "Use of uninitialized value in bitwise or (|)" error.
    
    Signed-off-by: Bill Erickson <berick at esilibrary.com>
    Signed-off-by: Ben Shum <bshum at biblio.org>

diff --git a/Open-ILS/src/perlmods/lib/OpenILS/SIP.pm b/Open-ILS/src/perlmods/lib/OpenILS/SIP.pm
index 664bb62..bd11e19 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);

-----------------------------------------------------------------------

Summary of changes:
 Open-ILS/src/perlmods/lib/OpenILS/SIP.pm |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list