Skip to content
Snippets Groups Projects
Commit 376a13c2 authored by jaapjansma's avatar jaapjansma
Browse files

update

parent ea4512f4
No related branches found
No related tags found
No related merge requests found
......@@ -96,7 +96,7 @@ class CRM_DataprocessorSearch_Form_ContactSearch extends CRM_DataprocessorSearch
$contactImages = array();
// Add the contact type image
if (count($ids)) {
$ids = CRM_Utils_Type::escapeAll($ids, 'String');
$ids = CRM_Utils_Type::escapeAll($ids, 'Integer');
$contactDao = CRM_Core_DAO::executeQuery("SELECT id, contact_type, contact_sub_type FROM civicrm_contact WHERE `id` IN (".implode(",", $ids).")");
while($contactDao->fetch()) {
foreach($rows as $idx => $row) {
......
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