summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"}