From: Moritz Bunkus Date: Fri, 25 Jul 2008 14:08:37 +0000 (+0000) Subject: Spalte 'taxincluded' hat den Typ 'boolean' und nicht 'integer'. Fix für Bug 759. X-Git-Tag: release-2.6.0beta1~25 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=87993e9bbff0f83e3c8d30e376d434fdc60383a2;p=kivitendo-erp.git Spalte 'taxincluded' hat den Typ 'boolean' und nicht 'integer'. Fix für Bug 759. --- diff --git a/SL/GL.pm b/SL/GL.pm index 51fbfacc8..a101f4a69 100644 --- a/SL/GL.pm +++ b/SL/GL.pm @@ -120,7 +120,7 @@ sub post_transaction { WHERE id = ?|; @values = ($form->{reference}, $form->{description}, $form->{notes}, - conv_date($form->{transdate}), $department_id, $form->{taxincluded}, + conv_date($form->{transdate}), $department_id, $form->{taxincluded} ? 't' : 'f', $form->{storno} ? 't' : 'f', conv_i($form->{storno_id}), $form->{ob_transaction} ? 't' : 'f', $form->{cb_transaction} ? 't' : 'f', conv_i($form->{id})); do_query($form, $dbh, $query, @values);