mirror of
https://github.com/SuiteCRM/SuiteCRM-Core.git
synced 2025-08-29 08:17:18 +08:00
Get only 1 contact as we do not want to get the millions of contacts
More on this in issue #10701
This commit is contained in:
parent
d557584a09
commit
2a335eca10
1 changed files with 1 additions and 0 deletions
|
@ -3449,6 +3449,7 @@ class Email extends Basic
|
|||
$query .= " AND contacts.id= '" . $_REQUEST['record'] . "' ";
|
||||
}
|
||||
}
|
||||
$query .= " LIMIT 1";
|
||||
$result = $this->db->query($query, true, " Error filling in additional detail fields: ");
|
||||
|
||||
// Get the id and the name.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue