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

Evergreen Git git at git.evergreen-ils.org
Fri Jun 17 16:11:01 EDT 2011


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  4f518108c74d5d1b252f7528495ea8eb179c7bd2 (commit)
      from  e9a6cdd1ebc7061e094cd7ad7c131150a31ba2f4 (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 4f518108c74d5d1b252f7528495ea8eb179c7bd2
Author: Thomas Berezansky <tsbere at mvlc.org>
Date:   Tue Jun 14 19:53:02 2011 -0400

    Grace period is an interval. Convert to seconds.
    
    Signed-off-by: Thomas Berezansky <tsbere at mvlc.org>
    Signed-off-by: Galen Charlton <gmc at esilibrary.com>

diff --git a/Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Publisher/action.pm b/Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Publisher/action.pm
index 5ded5bd..c9743e2 100644
--- a/Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Publisher/action.pm
+++ b/Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Publisher/action.pm
@@ -815,7 +815,7 @@ sub generate_fines {
             next unless ($c->fine_interval);
         }
         #TODO: reservation grace periods
-        my $grace_period = ($is_reservation ? 0 : $c->grace_period);
+        my $grace_period = ($is_reservation ? 0 : interval_to_seconds($c->grace_period));
 
 		try {
 			if ($self->method_lookup('open-ils.storage.transaction.current')->run) {

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

Summary of changes:
 .../Application/Storage/Publisher/action.pm        |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list