summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2006-12-08 19:25:36 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2006-12-08 19:25:36 +0000
commit589184f26151de0de6df0a14262159ff87ed1e61 (patch)
treea64466311c9ac4cb27bd3634d7d1d3bb6ac77bc0
parent5e745821a5bb8610c342073cfd97a63380f8538f (diff)
Fixing bug 1611223
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@747 4979c152-3d1c-0410-bac9-87ea11338e46
-rwxr-xr-xLedgerSMB/OE.pm1
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"}