mirror of
https://github.com/SuiteCRM/SuiteCRM-Core.git
synced 2025-08-29 01:10:42 +08:00
[Legacy] Remove source from query
This commit is contained in:
parent
16dc7b9d1c
commit
734dc100d9
1 changed files with 1 additions and 1 deletions
|
@ -3249,7 +3249,7 @@ function get_emails_by_assign_or_link($params)
|
|||
|
||||
if ($bean->object_name == 'Case' && !empty($bean->case_number)) {
|
||||
$where = str_replace('%1', $bean->case_number, (string) $bean->getEmailSubjectMacro());
|
||||
$return_array['where'] .= "\n AND (email_ids.source = 'direct' OR emails.name LIKE '%$where%')";
|
||||
$return_array['where'] .= "\n AND (emails.name LIKE '%$where%')";
|
||||
}
|
||||
|
||||
return $return_array;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue