Skip to content
Snippets Groups Projects
Commit e93c2765 authored by Erik Hommel's avatar Erik Hommel
Browse files

wip issue #13

parent b5b41ee6
No related branches found
No related tags found
No related merge requests found
......@@ -40,6 +40,9 @@ class CRM_CivirulesConditions_Contribution_CountSpecificAmount extends CRM_Civir
$isConditionValid = FALSE;
$this->buildWhereClauses($eventData->getEntityData('Contribution'));
CRM_Core_Error::debug('whereClauses', $this->whereClauses);
CRM_Core_Error::debug('whereParams', $this->whereParams);
exit();
if (!empty($whereClauses)) {
$query = 'SELECT COUNT(*) as countContributions FROM civicrm_contribution WHERE '.implode(' AND ', $this->whereClauses);
$dao = CRM_Core_DAO::executeQuery($query, $this->whereParams);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment