From 954dc0123aac7d3dc28de8e3ee3b2fac85935371 Mon Sep 17 00:00:00 2001
From: Tim Steiner <tsteiner2@unl.edu>
Date: Wed, 26 Sep 2007 14:48:32 +0000
Subject: [PATCH] Getting vote tallying to work.

---
 application/models/tables/ApproverVotes.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/application/models/tables/ApproverVotes.php b/application/models/tables/ApproverVotes.php
index 5a56e355..decd3bcc 100644
--- a/application/models/tables/ApproverVotes.php
+++ b/application/models/tables/ApproverVotes.php
@@ -61,6 +61,6 @@ class ApproverVotes extends Nmc_Db_Table
         $where[] = $db->quoteInto('request=?', $request->getPrimaryKey());
         $where[] = $db->quoteInto('approvalAction=?', $action->getPrimaryKey());
         $where = implode(' AND ', $where);
-        return $this->fetchRow($where);
+        return $this->fetchAll($where);
     }
 }
\ No newline at end of file
-- 
GitLab