diff options
Diffstat (limited to 'LedgerSMB')
-rwxr-xr-x | LedgerSMB/Form.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/LedgerSMB/Form.pm b/LedgerSMB/Form.pm index c009d114..01dbe085 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 undef; + $amount = 0; } if (UNIVERSAL::isa($amount, 'Math::BigFloat')){ # Amount may not be an object |