projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
98255c8
)
Email-Funktion: Wenn bei den Kundendaten keine Emailadresse angegeben, dafür aber...
author
Moritz Bunkus
<m.bunkus@linet-services.de>
Thu, 18 Jan 2007 16:21:31 +0000
(16:21 +0000)
committer
Moritz Bunkus
<m.bunkus@linet-services.de>
Thu, 18 Jan 2007 16:21:31 +0000
(16:21 +0000)
bin/mozilla/io.pl
patch
|
blob
|
history
diff --git
a/bin/mozilla/io.pl
b/bin/mozilla/io.pl
index
c7d0aa3
..
bb99e2c
100644
(file)
--- a/
bin/mozilla/io.pl
+++ b/
bin/mozilla/io.pl
@@
-33,6
+33,7
@@
#
#######################################################################
+use SL::CT;
use SL::IC;
use CGI::Ajax;
use CGI;
@@
-1265,6
+1266,11
@@
sub e_mail {
$form->{email} = $form->{shiptoemail} if $form->{shiptoemail};
}
+ if ($form->{"cp_id"} && !$form->{"email"}) {
+ CT->get_contact(\%myconfig, $form);
+ $form->{"email"} = $form->{"cp_email"};
+ }
+
$name = $form->{ $form->{vc} };
$name =~ s/--.*//g;
$title = $locale->text('E-mail') . " $name";