From: Lebbeous Fogle-Weekley Date: Thu, 13 Feb 2014 19:57:07 +0000 (-0500) Subject: An unfinished commit pulled out of my git stash X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=d318869588af67b6a53e10f4d5fa854eec592fa7;p=working%2FEvergreen.git An unfinished commit pulled out of my git stash Signed-off-by: Lebbeous Fogle-Weekley --- 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;