From d318869588af67b6a53e10f4d5fa854eec592fa7 Mon Sep 17 00:00:00 2001 From: Lebbeous Fogle-Weekley Date: Thu, 13 Feb 2014 14:57:07 -0500 Subject: [PATCH] An unfinished commit pulled out of my git stash Signed-off-by: Lebbeous Fogle-Weekley --- Open-ILS/src/perlmods/lib/OpenILS/Application/Serial.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Open-ILS/src/perlmods/lib/OpenILS/Application/Serial.pm b/Open-ILS/src/perlmods/lib/OpenILS/Application/Serial.pm index b00cc69fd3..6b0e85d631 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/Application/Serial.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/Application/Serial.pm @@ -1604,7 +1604,9 @@ sub regenerate_summaries { } ]) or return $e->die_event; - my $evt = _prepare_summaries($e, $issuances, $sdist, $type, 1); #XXX $do_combined) + next unless @$issuances; + + my $evt = _prepare_summaries($e, $issuances, $sdist, $type); if ($U->event_code($evt)) { $e->rollback; return $evt; -- 2.11.0