CRM-17077 pledge form undeifined constant
authoreileenmcnaugton <eileen@fuzion.co.nz>
Mon, 24 Aug 2015 22:32:36 +0000 (10:32 +1200)
committereileenmcnaugton <eileen@fuzion.co.nz>
Mon, 24 Aug 2015 22:32:36 +0000 (10:32 +1200)
CRM/Pledge/Form/Pledge.php

index 7b3d66da802c5b9bcc7063a8ba82c422f48bd5cc..1a91a6a55ebaf794c00645f28b4e364abafc9e9b 100644 (file)
@@ -115,7 +115,7 @@ class CRM_Pledge_Form_Pledge extends CRM_Core_Form {
       $params = array('id' => $this->_id);
       CRM_Pledge_BAO_Pledge::getValues($params, $this->_values);
 
-      $this->_isPending = (CRM_Pledge_BAO_Pledge::pledgeHasFinancialTransactions($this->_id, CRM_Utils_Array::value('status_id', $this->_values))) ? FALSE : T;
+      $this->_isPending = (CRM_Pledge_BAO_Pledge::pledgeHasFinancialTransactions($this->_id, CRM_Utils_Array::value('status_id', $this->_values))) ? FALSE : TRUE;
     }
 
     //get the pledge frequency units.