diff --git a/htdocs/comm/mailing/card.php b/htdocs/comm/mailing/card.php
index cfab373b62f..e63952a8341 100644
--- a/htdocs/comm/mailing/card.php
+++ b/htdocs/comm/mailing/card.php
@@ -793,7 +793,7 @@ if ($action == 'create') { // aaa
$htmltext .= '';
- $availablelink = $form->textwithpicto(''.$langs->trans("AvailableVariables").'', $htmltext, 1, 'helpclickable', '', 0, 2, 'availvar');
+ $availablelink = $form->textwithpicto(''.$langs->trans("AvailableVariables").'', $htmltext, 1, 'helpclickable', '', 0, 2, 'availvar');
//print ''.img_picto($langs->trans("ClickToShowDescription"), $imginfo).'';
@@ -865,9 +865,12 @@ if ($action == 'create') { // aaa
print '
';
+ $out .= '
';
$out .= '';
- $out .= ''."\n";
+ $out .= ''."\n";
$out .= self::multiselectarray('blogpost-select', $blogArray, array(), 0, 0, 'minwidth200');
+ $out .= ' ';
$out .= '
';
+ if (isModEnabled('product') || isModEnabled('service')) {
+ include_once DOL_DOCUMENT_ROOT.'/htdocs/core/class/html.form.class.php';
+ $form = new Form($this->db);
+ $out .= '
';
+ $out .= '';
+ $out .= ''."\n";
+ $out .= $form->select_produits(0, 'product-select', '', 0, 0, 1, 2, '', 0, array(), 0, '1', 0, '', 0, '', null, 1);
+ $out .= ' ';
+ $out .= '
';
+ }
+
$out .= ''."\n";
$out .= '