Skip to content
Snippets Groups Projects
Commit e3d4a7bc authored by Maxime Kohlhaas's avatar Maxime Kohlhaas
Browse files

Fix : wrong contact list was used for cc and ccc in formmail

parent d478d8c1
Branches
Tags
No related merge requests found
...@@ -432,7 +432,7 @@ class FormMail ...@@ -432,7 +432,7 @@ class FormMail
if (! empty($this->withtocc) && is_array($this->withtocc)) if (! empty($this->withtocc) && is_array($this->withtocc))
{ {
$out.= " ".$langs->trans("or")." "; $out.= " ".$langs->trans("or")." ";
$out.= $form->selectarray("receivercc", $this->withto, GETPOST("receivercc"), 1); $out.= $form->selectarray("receivercc", $this->withtocc, GETPOST("receivercc"), 1);
} }
} }
$out.= "</td></tr>\n"; $out.= "</td></tr>\n";
...@@ -454,7 +454,7 @@ class FormMail ...@@ -454,7 +454,7 @@ class FormMail
if (! empty($this->withtoccc) && is_array($this->withtoccc)) if (! empty($this->withtoccc) && is_array($this->withtoccc))
{ {
$out.= " ".$langs->trans("or")." "; $out.= " ".$langs->trans("or")." ";
$out.= $form->selectarray("receiverccc", $this->withto, GETPOST("receiverccc"), 1); $out.= $form->selectarray("receiverccc", $this->withtoccc, GETPOST("receiverccc"), 1);
} }
} }
//if (! empty($conf->global->MAIN_MAIL_AUTOCOPY_TO)) print ' '.info_admin("+ ".$conf->global->MAIN_MAIL_AUTOCOPY_TO,1); //if (! empty($conf->global->MAIN_MAIL_AUTOCOPY_TO)) print ' '.info_admin("+ ".$conf->global->MAIN_MAIL_AUTOCOPY_TO,1);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment