fix overdu_circs thinkos from reservation work
authormiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 8 Jan 2010 20:58:30 +0000 (20:58 +0000)
committermiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 8 Jan 2010 20:58:30 +0000 (20:58 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15288 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/action.pm

index 88056c0..840b254 100644 (file)
@@ -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 {