Skip to content

Commit

Permalink
Merge pull request #20830 from eileenmcnaughton/ttp
Browse files Browse the repository at this point in the history
E-notice fix
  • Loading branch information
eileenmcnaughton authored Jul 12, 2021
2 parents db81b85 + 62ec4c6 commit 9a22ebc
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions CRM/Report/Page/TemplateList.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,11 +78,10 @@ public static function &info($compID = NULL, $grouping = NULL) {
$rows[$dao->component_name][$dao->value]['title'] = ts($dao->label);
$rows[$dao->component_name][$dao->value]['description'] = ts($dao->description);
$rows[$dao->component_name][$dao->value]['url'] = CRM_Utils_System::url('civicrm/report/' . trim($dao->value, '/'), 'reset=1');
if ($dao->instance_id) {
$rows[$dao->component_name][$dao->value]['instanceUrl'] = CRM_Utils_System::url('civicrm/report/list',
"reset=1&ovid={$dao->id}"
);
}
$rows[$dao->component_name][$dao->value]['instanceUrl'] = $dao->instance_id ? CRM_Utils_System::url(
'civicrm/report/list',
"reset=1&ovid=$dao->id"
) : '';
}

return $rows;
Expand Down

0 comments on commit 9a22ebc

Please sign in to comment.