Clean url
This commit is contained in:
parent
fbf476cc5d
commit
2d765488ac
1 changed files with 1 additions and 1 deletions
|
|
@ -218,7 +218,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)).'view.php?track_id='.$object->track_id.'&email='.$email;
|
||||
$url = getDolGlobalString('TICKET_URL_PUBLIC_INTERFACE', dol_buildpath('/public/ticket/', 3)).'view.php?track_id='.urlencode($object->track_id).'&email='.urlencode($email);
|
||||
}
|
||||
|
||||
$out = '';
|
||||
|
|
|
|||
Loading…
Reference in a new issue