Commit eb9cb844 authored by Nigel Kukard's avatar Nigel Kukard

Merge branch 'nkupdates3' into 'master'

Fixed typo in variable name for error reporting

See merge request wiaflos/wiaflos!33
parents 0f81b66f 4dac6b45
Pipeline #2597 passed with stages
in 1 minute and 7 seconds
# 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