Skip to content

Commit

Permalink
Fix mis-cased class ref
Browse files Browse the repository at this point in the history
  • Loading branch information
eileenmcnaughton authored and seamuslee001 committed Mar 17, 2017
1 parent f47539f commit acf3e51
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CRM/Report/Form.php
Original file line number Diff line number Diff line change
Expand Up @@ -4268,7 +4268,7 @@ public function alterDisplayContactFields(&$row, &$rows, &$rowNum, $baseUrl, $li
$rowLabels = array();
foreach ($rowValues as $rowValue) {
if ($rowValue) {
$rowLabels[] = CRM_Core_Pseudoconstant::getLabel('CRM_Contact_BAO_Contact', $fieldName, $rowValue);
$rowLabels[] = CRM_Core_PseudoConstant::getLabel('CRM_Contact_BAO_Contact', $fieldName, $rowValue);
}
}
$rows[$rowNum]['civicrm_contact_' . $fieldName] = implode(', ', $rowLabels);
Expand Down Expand Up @@ -4667,7 +4667,7 @@ public function getPermissionedFTQuery(&$query, $alias = NULL, $return = FALSE)
CRM_Financial_BAO_FinancialType::getAvailableFinancialTypes($financialTypes);
if (empty($financialTypes)) {
$contFTs = "0";
$liFTs = implode(',', array_keys(CRM_Contribute_Pseudoconstant::financialType()));
$liFTs = implode(',', array_keys(CRM_Contribute_PseudoConstant::financialType()));
}
else {
$contFTs = $liFTs = implode(',', array_keys($financialTypes));
Expand Down

0 comments on commit acf3e51

Please sign in to comment.