summaryrefslogtreecommitdiff
path: root/LedgerSMB.pm
diff options
context:
space:
mode:
Diffstat (limited to 'LedgerSMB.pm')
-rwxr-xr-xLedgerSMB.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/LedgerSMB.pm b/LedgerSMB.pm
index 08bf1a38..b3373f94 100755
--- a/LedgerSMB.pm
+++ b/LedgerSMB.pm
@@ -533,7 +533,7 @@ sub round_amount {
#
# We will grab the default value, if it isnt defined
#
- if (!$places){
+ if (!defined $places){
$places = ${LedgerSMB::Sysconfig::decimal_places};
}