summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Earls <enderw88@gmail.com>2013-01-31 07:26:23 -0700
committerCraig Earls <enderw88@gmail.com>2013-01-31 07:26:23 -0700
commitf853510f0370641015eef6cf6da6cd13569e4ef7 (patch)
treeed4fa7c44df9006d8e2367a185eaabea7e6ece4c
parent6c6e33427f505b11ed1d7eac74eccb1ac6526846 (diff)
parent9e9d99e9187093b459525e3fd7e654d57000c3c4 (diff)
downloadfork-ledger-f853510f0370641015eef6cf6da6cd13569e4ef7.tar.gz
fork-ledger-f853510f0370641015eef6cf6da6cd13569e4ef7.tar.bz2
fork-ledger-f853510f0370641015eef6cf6da6cd13569e4ef7.zip
Merge commit '9e9d99e9187093b459525e3fd7e654d57000c3c4' into kitchen-sink
-rw-r--r--src/report.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/report.cc b/src/report.cc
index d90d22e4..d0b64650 100644
--- a/src/report.cc
+++ b/src/report.cc
@@ -693,8 +693,7 @@ value_t report_t::fn_round(call_scope_t& args)
value_t report_t::fn_roundto(call_scope_t& args)
{
- if(args.has<int>(1))
- return args[0].roundto(args.get<int>(1));
+ return args[0].roundto(args.get<int>(1));
}
value_t report_t::fn_unround(call_scope_t& args)