Skip to content
Snippets Groups Projects
Commit 33240b75 authored by Prasad's avatar Prasad
Browse files

Fixed email internal mailer only when there is reference to record

parent 7aeac238
No related branches found
No related tags found
No related merge requests found
......@@ -24,7 +24,7 @@ class Vtiger_Email_UIType extends Vtiger_Base_UIType {
if($value){
$moduleName = $this->get('field')->get('block')->module->name;
$fieldName = $this->get('field')->get('name');
if ($internalMailer == 1) {
if ($internalMailer == 1 && $recordId) {
/**
* We should not add "emailField" class to user name field.
* If we do so, for sending mail from list view is taking that value as a TO field.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment