From: Moritz Bunkus Date: Thu, 1 Mar 2007 10:20:18 +0000 (+0000) Subject: Booleans als 't' oder 'f' an die Datenbank geben. X-Git-Tag: release-2.4.3^2~642 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=4c99576f8168a4b6e7837cdfd8ac4e4c4b1b3168;p=kivitendo-erp.git Booleans als 't' oder 'f' an die Datenbank geben. --- diff --git a/SL/AP.pm b/SL/AP.pm index 106212c77..8699920ef 100644 --- a/SL/AP.pm +++ b/SL/AP.pm @@ -205,7 +205,7 @@ sub post_transaction { WHERE id = ?|; my @values = ($form->{invnumber}, conv_date($form->{transdate}), $form->{ordnumber}, conv_i($form->{vendor_id}), - $form->{taxincluded}, $form->{invtotal}, + $form->{taxincluded} ? 't' : 'f', $form->{invtotal}, conv_date($form->{duedate}), $form->{invpaid}, conv_date($datepaid), $form->{netamount}, $form->{currency}, $form->{notes},