[open-ils-commits] [GIT] Evergreen ILS branch rel_2_1 updated. 75068290eed6580ac9e9f758aa5bc751c88953d4
Evergreen Git
git at git.evergreen-ils.org
Fri Jun 17 16:11:30 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, rel_2_1 has been updated
via 75068290eed6580ac9e9f758aa5bc751c88953d4 (commit)
from 22f5962c46f06a62f52e29908273f6729660658d (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 75068290eed6580ac9e9f758aa5bc751c88953d4
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