fix: [generic fields] org field URL missing slash fixed

pull/92/head
iglocska 2022-01-28 00:51:09 +01:00
parent 4563a397bb
commit 8b6fc78695
No known key found for this signature in database
GPG Key ID: BEA224F1FEF113AC
1 changed files with 2 additions and 2 deletions

View File

@ -18,13 +18,13 @@
if ($field['fields']['allow_picture'] && !empty($org['id'])) {
echo sprintf(
'<a href="%s">%s</a>',
$baseurl . 'organisations/view/' . h($org['id']),
$baseurl . '/organisations/view/' . h($org['id']),
h($org['name'])
);
//echo $this->OrgImg->getOrgImg(array('name' => $org['name'], 'id' => $org['id'], 'size' => 24));
} else {
echo sprintf(
'<a href="%sorganisations/view/%s">%s</a>',
'<a href="%s/organisations/view/%s">%s</a>',
$baseurl,
empty($org['id']) ? h($org['uuid']) : h($org['id']),
h($org['name'])