From: Moritz Bunkus Date: Wed, 17 Dec 2008 15:20:06 +0000 (+0000) Subject: Spalte 'ordnumber' darf nicht NULL sein. X-Git-Tag: release-2.6.0beta2~213 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=abd2032c0cb96559872a09563dbe7283f45cc03c;p=kivitendo-erp.git Spalte 'ordnumber' darf nicht NULL sein. --- 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),