From: Ravish Nair Date: Tue, 9 Apr 2013 14:36:58 +0000 (+0530) Subject: -- Batch transaction page minor fix(Query Syntax error) X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=ba9d40b96bcfe823c64a1a2cf7bd5f50c4278bfc;p=civicrm-core.git -- Batch transaction page minor fix(Query Syntax error) --- diff --git a/CRM/Batch/BAO/Batch.php b/CRM/Batch/BAO/Batch.php index 2501cc9b57..d203cbd134 100644 --- a/CRM/Batch/BAO/Batch.php +++ b/CRM/Batch/BAO/Batch.php @@ -710,7 +710,7 @@ LEFT JOIN civicrm_contribution_soft ON civicrm_contribution_soft.contribution_id } if (!empty($query->_where[0])) { $where = implode(' AND ', $query->_where[0]) . - "AND civicrm_entity_batch.batch_id IS NULL + " AND civicrm_entity_batch.batch_id IS NULL AND civicrm_entity_financial_trxn.entity_table = 'civicrm_contribution'"; $searchValue = TRUE; }