encryption change for url
This commit is contained in:
parent
10c9e9b77c
commit
099ad77d44
@ -364,8 +364,7 @@ if ($projectid > 0) {
|
||||
|
||||
// Link to the vote/register page
|
||||
print '<tr><td>'.$langs->trans("RegisterPage").'</td><td>';
|
||||
$encodedid = dol_encode($project->id, $dolibarr_main_instance_unique_id);
|
||||
$linkregister = $dolibarr_main_url_root.'/public/project/index.php?id='.$encodedid;
|
||||
$linkregister = $dolibarr_main_url_root.'/public/project/index.php?id='.$project->id;
|
||||
$encodedsecurekey = dol_hash($conf->global->EVENTORGANIZATION_SECUREKEY.'conferenceorbooth'.$project->id, 2);
|
||||
$linkregister .= '&securekey='.urlencode($encodedsecurekey);
|
||||
print '<a target="_blank" href="'.$linkregister.'">'.$linkregister.'</a>';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user