fix missing view.php

This commit is contained in:
Eric Seigne 2024-02-27 01:09:30 +01:00
parent aec7cdefde
commit e34e8ddb9a

View file

@ -162,7 +162,7 @@ function showDirectPublicLink($object)
$email = CMailFile::getValidAddress($object->origin_email, 2);
$url = '';
if ($email) {
$url = getDolGlobalString('TICKET_URL_PUBLIC_INTERFACE', dol_buildpath('/public/ticket/', 3)).'?track_id='.$object->track_id.'&email='.$email;
$url = getDolGlobalString('TICKET_URL_PUBLIC_INTERFACE', dol_buildpath('/public/ticket/', 3)).'view.php?track_id='.$object->track_id.'&email='.$email;
}
$out = '';