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:
Muhammad Farjad 2025-08-05 17:40:45 +05:00 committed by GitHub
parent d557584a09
commit 2a335eca10
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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.