summaryrefslogtreecommitdiff
path: root/LedgerSMB
diff options
context:
space:
mode:
Diffstat (limited to 'LedgerSMB')
-rwxr-xr-xLedgerSMB/Form.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/LedgerSMB/Form.pm b/LedgerSMB/Form.pm
index cf89c9e7..14a3ff97 100755
--- a/LedgerSMB/Form.pm
+++ b/LedgerSMB/Form.pm
@@ -480,7 +480,7 @@ sub parse_amount {
my ($self, $myconfig, $amount) = @_;
if (($amount eq '') or ($amount eq undef)) {
- return 0;
+ return undef;
}
if (UNIVERSAL::isa($amount, 'Math::BigFloat')){ # Amount may not be an object