pendingTransactions missed popping the class off the arg stack

This commit is contained in:
Colin Kuskie 2007-07-19 18:01:14 +00:00
parent 0635a2a17e
commit ab42b4a133

View file

@ -468,13 +468,14 @@ sub new {
=head2 pendingTransactions ( )
Returns a reference to an array which contains transaction objects of all pending transactions.
Returns a reference to an array which contains transaction objects of all pending transactions. This
is a class method.
=cut
sub pendingTransactions {
my (@transactionIds, @transactions);
my ($session) = @_;
my ($class, $session) = @_;
@transactionIds = $session->db->buildArray("select transactionId from transaction where status = 'Pending'");
foreach (@transactionIds) {