Revision 77442185
Von Sven Schöling vor mehr als 12 Jahren hinzugefügt
SL/CT.pm | ||
---|---|---|
448 | 448 |
'trans_id' => $form->{id}, |
449 | 449 |
'variables' => $form, |
450 | 450 |
'always_valid' => 1); |
451 |
CVar->save_custom_variables('dbh' => $dbh, |
|
452 |
'module' => 'Contacts', |
|
453 |
'trans_id' => $form->{cp_id}, |
|
454 |
'variables' => $form, |
|
455 |
'name_prefix' => 'cp', |
|
456 |
'always_valid' => 1); |
|
451 |
if ($form->{cp_id}) { |
|
452 |
CVar->save_custom_variables('dbh' => $dbh, |
|
453 |
'module' => 'Contacts', |
|
454 |
'trans_id' => $form->{cp_id}, |
|
455 |
'variables' => $form, |
|
456 |
'name_prefix' => 'cp', |
|
457 |
'always_valid' => 1); |
|
458 |
} |
|
457 | 459 |
|
458 | 460 |
my $rc = $dbh->commit(); |
459 | 461 |
|
... | ... | |
663 | 665 |
'trans_id' => $form->{id}, |
664 | 666 |
'variables' => $form, |
665 | 667 |
'always_valid' => 1); |
666 |
CVar->save_custom_variables('dbh' => $dbh, |
|
667 |
'module' => 'Contacts', |
|
668 |
'trans_id' => $form->{cp_id}, |
|
669 |
'variables' => $form, |
|
670 |
'name_prefix' => 'cp', |
|
671 |
'always_valid' => 1); |
|
668 |
if ($form->{cp_id}) { |
|
669 |
CVar->save_custom_variables('dbh' => $dbh, |
|
670 |
'module' => 'Contacts', |
|
671 |
'trans_id' => $form->{cp_id}, |
|
672 |
'variables' => $form, |
|
673 |
'name_prefix' => 'cp', |
|
674 |
'always_valid' => 1); |
|
675 |
} |
|
672 | 676 |
|
673 | 677 |
my $rc = $dbh->commit(); |
674 | 678 |
|
Auch abrufbar als: Unified diff
Bug in CT: SQL Fehler wenn es keine Ansprechpartner gibt aber CVars für Ansprechpartner angelegt wurden. gibt aber CVars für Ansprechpartner angelegt wurden.