Skip to content

Commit

Permalink
COMCL-835: Fix pivot report generation
Browse files Browse the repository at this point in the history
  • Loading branch information
Muhammad Shahrukh committed Sep 16, 2024
1 parent 1902d66 commit ef4d35f
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion CRM/Civicase/Form/Report/ExtendedReport.php
Original file line number Diff line number Diff line change
Expand Up @@ -2827,7 +2827,14 @@ protected function formatCustomValues($value, $customField, $fieldValueMap, arra
break;

case 'Link':
$retValue = CRM_Utils_System::formatWikiURL($value);
$items = explode(' ', trim($value), 2);
if (count($items) == 2) {
$title = $items[1];
}
else {
$title = $items[0];
}
$retValue = CRM_Utils_System::href($title, $items[0], NULL, FALSE);
break;

case 'File':
Expand Down

0 comments on commit ef4d35f

Please sign in to comment.