From 0b72484d1e55e4ae21598b1836f86a63a0e66fab Mon Sep 17 00:00:00 2001 From: miker Date: Wed, 4 Mar 2009 15:26:40 +0000 Subject: [PATCH] do not look for transaction summaries if there are no transactions git-svn-id: svn://svn.open-ils.org/ILS/trunk@12400 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/src/perlmods/OpenILS/Application/AppUtils.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/Open-ILS/src/perlmods/OpenILS/Application/AppUtils.pm b/Open-ILS/src/perlmods/OpenILS/Application/AppUtils.pm index 18db01d615..c1518cf3fd 100644 --- a/Open-ILS/src/perlmods/OpenILS/Application/AppUtils.pm +++ b/Open-ILS/src/perlmods/OpenILS/Application/AppUtils.pm @@ -1175,6 +1175,7 @@ sub make_mbts { my $self = shift; my $e = shift; my @xacts = @_; + return () if (!@xacts); return @{$e->search_money_billable_transaction_summary({id => [ map { $_->id } @xacts ]})}; } -- 2.11.0