diff --git a/sendmail/trunk/mail_form.php b/sendmail/trunk/mail_form.php index f36a6f3e985ed77f235fecd2b148ab3964206fac..615d59f25df417b63be0c72b8e986eefe2e58eec 100644 --- a/sendmail/trunk/mail_form.php +++ b/sendmail/trunk/mail_form.php @@ -270,7 +270,7 @@ if ($mode == 'add') { $content .= '<select name="templateMail" id="templateMail" style="width:200px" ' . 'onchange="addTemplateToEmail($(\'templateMail\').value, \'' . $_SESSION['config']['businessappurl'] . 'index.php?display=true' - . '&module=templates&page=templates_ajax_content_for_mails\');">'; + . '&module=templates&page=templates_ajax_content_for_mails&id=' . $_REQUEST['identifier'] . '\');">'; $content .= '<option value="">' . _ADD_TEMPLATE_MAIL . '</option>'; $db->connect();