diff options
author | einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46> | 2006-12-08 19:25:36 +0000 |
---|---|---|
committer | einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46> | 2006-12-08 19:25:36 +0000 |
commit | 589184f26151de0de6df0a14262159ff87ed1e61 (patch) | |
tree | a64466311c9ac4cb27bd3634d7d1d3bb6ac77bc0 /LedgerSMB | |
parent | 5e745821a5bb8610c342073cfd97a63380f8538f (diff) |
Fixing bug 1611223
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@747 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'LedgerSMB')
-rwxr-xr-x | LedgerSMB/OE.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/LedgerSMB/OE.pm b/LedgerSMB/OE.pm index cc13693c..560659df 100755 --- a/LedgerSMB/OE.pm +++ b/LedgerSMB/OE.pm @@ -1782,6 +1782,7 @@ sub save_inventory { for my $i (1 .. $form->{rowcount}) { + $form->{"ship_$i"} = 0 unless $form->{"ship_$i"}; $ship = (abs($form->{"ship_$i"}) > abs($form->{"qty_$i"})) ? $form->{"qty_$i"} |