pendingTransactions missed popping the class off the arg stack
This commit is contained in:
parent
0635a2a17e
commit
ab42b4a133
1 changed files with 3 additions and 2 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue