Commit 4dac6b45 authored by Nigel Kukard's avatar Nigel Kukard

Fixed typo in variable name for error reporting

parent a23573d2
# Reporting functions
# Copyright (C) 2009-2014, AllWorldIT
# Copyright (C) 2009-2018, AllWorldIT
# Copyright (C) 2008, LinuxRulz
# Copyright (C) 2007 Nigel Kukard <nkukard@lbsd.net>
#
......@@ -471,7 +471,7 @@ sub sendReport
$tmp->{'Type'} = $types;
my $transactions = wiaflos::server::core::GL::getGLTransactions($tmp);
if (ref($transactions) ne "ARRAY") {
wiaflos::server::core::templating::abort('api_gl_transactions',$accounts,wiaflos::server::core::GL::Error());
wiaflos::server::core::templating::abort('api_gl_transactions',$transactions,wiaflos::server::core::GL::Error());
}
# Sort based on transaction date
@{$transactions} = sort { $a->{'TransactionDate'} cmp $b->{'TransactionDate'} } @{$transactions};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment