From 589184f26151de0de6df0a14262159ff87ed1e61 Mon Sep 17 00:00:00 2001 From: einhverfr Date: Fri, 8 Dec 2006 19:25:36 +0000 Subject: Fixing bug 1611223 git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@747 4979c152-3d1c-0410-bac9-87ea11338e46 --- LedgerSMB/OE.pm | 1 + 1 file changed, 1 insertion(+) (limited to 'LedgerSMB') 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"} -- cgit v1.2.3