From: miker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Date: Fri, 8 Jan 2010 20:58:30 +0000 (+0000)
Subject: fix overdu_circs thinkos from reservation work
X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=699df4fb6490fde416ae4bb93cea13ef4ae73471;p=contrib%2FConifer.git

fix overdu_circs thinkos from reservation work

git-svn-id: svn://svn.open-ils.org/ILS/trunk@15288 dcc99617-32d9-48b4-a31d-7c20da2025e4
---

diff --git a/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/action.pm b/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/action.pm
index 88056c0d1c..840b254926 100644
--- a/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/action.pm
+++ b/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/action.pm
@@ -127,10 +127,11 @@ sub overdue_circs {
 	SQL
 
 	$sth = action::circulation->db_Main->prepare_cached($sql);
-	$sth->execute($upper_interval);
+	$sth->execute();
 
-	@circs = map { booking::reservation->construct($_) } $sth->fetchall_hash;
+    push @circs, map { booking::reservation->construct($_) } $sth->fetchall_hash;
 
+    return @circs;
 }
 
 sub complete_reshelving {