From: Sunil Pawar Date: Mon, 31 Dec 2018 09:05:05 +0000 (+0530) Subject: correct syntax "IS NOT NULL" to get pledge payment count X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=b6e6c7bc7c76486bb607d64d79724baac5cc766c;p=civicrm-core.git correct syntax "IS NOT NULL" to get pledge payment count --- diff --git a/CRM/Pledge/BAO/Pledge.php b/CRM/Pledge/BAO/Pledge.php index f934eb63bb..4ac0ad467c 100644 --- a/CRM/Pledge/BAO/Pledge.php +++ b/CRM/Pledge/BAO/Pledge.php @@ -1145,7 +1145,7 @@ SELECT pledge.contact_id as contact_id, return civicrm_api3('pledge_payment', 'getcount', array( 'pledge_id' => $pledgeID, - 'contribution_id' => array('NOT NULL' => TRUE), + 'contribution_id' => array('IS NOT NULL' => TRUE), )); }