Fix: Ensure string type for urlencode()
This commit is contained in:
parent
b37c850a4b
commit
4d8c3fc588
1 changed files with 1 additions and 1 deletions
|
|
@ -258,7 +258,7 @@ class ConferenceOrBooth extends ActionComm
|
|||
|
||||
$result = parent::fetch($id, $ref, $ref_ext, $email_msgid);
|
||||
|
||||
$link_subscription = $dolibarr_main_url_root.'/public/eventorganization/attendee_new.php?id='.urlencode($id).'&type=conf';
|
||||
$link_subscription = $dolibarr_main_url_root.'/public/eventorganization/attendee_new.php?id='.urlencode((string) ($id)).'&type=conf';
|
||||
|
||||
$encodedsecurekey = dol_hash(getDolGlobalString('EVENTORGANIZATION_SECUREKEY').'conferenceorbooth'.$id, 2);
|
||||
$link_subscription .= '&securekey='.urlencode($encodedsecurekey);
|
||||
|
|
|
|||
Loading…
Reference in a new issue