diff options
author | einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46> | 2007-02-02 05:22:32 +0000 |
---|---|---|
committer | einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46> | 2007-02-02 05:22:32 +0000 |
commit | f0229b16c649724c74174a8fb42d14ab05c615a9 (patch) | |
tree | d2c0bb7825138bcd79b7add7bb765a96fba9b886 /LedgerSMB/Form.pm | |
parent | 54d544f139ec724a2bf4a8cbe638491242ff63d8 (diff) |
Cleared bug 1625954
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/branches/1.2@788 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'LedgerSMB/Form.pm')
-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 |