Spalte taxzone_id darf nicht NULL sein.
authorMoritz Bunkus <m.bunkus@linet-services.de>
Tue, 5 Jun 2007 13:34:27 +0000 (13:34 +0000)
committerMoritz Bunkus <m.bunkus@linet-services.de>
Tue, 5 Jun 2007 13:34:27 +0000 (13:34 +0000)
SL/CT.pm

index 91fe2c0..67822d4 100644 (file)
--- a/SL/CT.pm
+++ b/SL/CT.pm
@@ -299,7 +299,7 @@ sub save_customer {
     conv_i($form->{salesman_id}),
     conv_i($form->{language_id}),
     conv_i($form->{payment_id}),
-    conv_i($form->{taxzone_id}),
+    conv_i($form->{taxzone_id}, 0),
     $form->{user_password},
     $form->{c_vendor_id},
     conv_i($form->{klass}),
@@ -495,7 +495,7 @@ sub save_vendor {
     $form->{obsolete} ? 't' : 'f',
     $form->{ustid},
     conv_i($form->{payment_id}),
-    conv_i($form->{taxzone_id}),
+    conv_i($form->{taxzone_id}, 0),
     conv_i( $form->{language_id}),
     $form->{username},
     $form->{user_password},