$roleClause = 'IN';
}
if (array_keys($roleTypes)) {
- $roles = '"' . implode("','", array_keys($roleTypes)) . '"';
+ $roles = '"' . implode('","', array_keys($roleTypes)) . '"';
}
else {
$roles = 0;
$where[] = ' ( participant.is_test = 0 OR participant.is_test IS NULL ) ';
}
if (!empty($participantRoles)) {
- $where[] = ' participant.role_id IN ( "' . implode("', '", array_keys($participantRoles)) . '" ) ';
+ $where[] = ' participant.role_id IN ( "' . implode('", "', array_keys($participantRoles)) . '" ) ';
}
$eventParams = array(1 => array($eventId, 'Positive'));