From 17b40b38feb0c7028d8340b6c20936f5bcc72bea Mon Sep 17 00:00:00 2001
From: Philip Reetz
Date: Thu, 28 Jun 2007 08:28:49 +0000
Subject: [PATCH] Umwandlung von Angebot nach Auftrag hat nach Fehler
verursacht, da gleiches Modul
---
SL/Form.pm | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/SL/Form.pm b/SL/Form.pm
index e5203f737..d43e51fb1 100644
--- a/SL/Form.pm
+++ b/SL/Form.pm
@@ -1507,8 +1507,9 @@ sub add_shipto {
shiptophone = ? AND
shiptofax = ? AND
shiptoemail = ? AND
- module = ?|;
- my $insert_check = selectfirst_hashref_query($self, $dbh, $query, @values, $module);
+ module = ? AND
+ trans_id = ?|;
+ my $insert_check = selectfirst_hashref_query($self, $dbh, $query, @values, $module, $id);
if(!$insert_check){
$query =
qq|INSERT INTO shipto (trans_id, shiptoname, shiptodepartment_1, shiptodepartment_2,
--
2.20.1