Skip to content

Commit

Permalink
Fix broken links
Browse files Browse the repository at this point in the history
  • Loading branch information
flack committed Jul 15, 2024
1 parent 02d2690 commit 728da63
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public function get_row(midcom_core_dbaobject $person) : array
$template = '%s';
$siteconfig = org_openpsa_core_siteconfig::get_instance();
if ($url = $siteconfig->get_node_full_url('org.openpsa.contacts') . 'person/') {
$template = '<a target="_blank" href="' . $url . $person->guid . '">%s</a>';
$template = '<a target="_blank" href="' . $url . $person->guid . '/">%s</a>';
}

$row = [
Expand Down
2 changes: 1 addition & 1 deletion lib/org/openpsa/expenses/style/hours_grid.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
$entry['index_invoice'] = $invoice->number;
$entry['invoice'] = $invoice->get_label();
if ($invoice_url) {
$entry['invoice'] = '<a href="' . $invoice_url . 'invoice/' . $invoice->guid . '">' . $entry['invoice'] . '</a>';
$entry['invoice'] = '<a href="' . $invoice_url . 'invoice/' . $invoice->guid . '/">' . $entry['invoice'] . '</a>';
}
}

Expand Down

0 comments on commit 728da63

Please sign in to comment.