From 699df4fb6490fde416ae4bb93cea13ef4ae73471 Mon Sep 17 00:00:00 2001
From: miker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Date: Fri, 8 Jan 2010 20:58:30 +0000
Subject: [PATCH] fix overdu_circs thinkos from reservation work

git-svn-id: svn://svn.open-ils.org/ILS/trunk@15288 dcc99617-32d9-48b4-a31d-7c20da2025e4
---
 .../src/perlmods/OpenILS/Application/Storage/Publisher/action.pm     | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

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 {
-- 
2.11.0