From abd2032c0cb96559872a09563dbe7283f45cc03c Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Wed, 17 Dec 2008 15:20:06 +0000 Subject: [PATCH] Spalte 'ordnumber' darf nicht NULL sein. --- SL/OE.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SL/OE.pm b/SL/OE.pm index 95d60c36f..f700c357d 100644 --- a/SL/OE.pm +++ b/SL/OE.pm @@ -437,7 +437,7 @@ sub save { globalproject_id = ?, employee_id = ?, salesman_id = ?, cp_id = ?, transaction_description = ?, marge_total = ?, marge_percent = ? WHERE id = ?|; - @values = ($form->{ordnumber}, $form->{quonumber}, + @values = ($form->{ordnumber} || '', $form->{quonumber}, $form->{cusordnumber}, conv_date($form->{transdate}), conv_i($form->{vendor_id}), conv_i($form->{customer_id}), $amount, $netamount, conv_date($reqdate), -- 2.20.1