Update fancytokens.php
This commit is contained in:
parent
03c517e3aa
commit
6166e0b41e
@ -654,9 +654,12 @@ $protocol = $isSecure ? 'https://' : 'http://';
|
||||
$tmp_alias = $record->alias;
|
||||
$tmp_nid = $record->nid;
|
||||
if( strlen( $tmp_alias) > 0){
|
||||
$partial_webform_link_url = $protocol.$website_host_name."/".$tmp_alias;
|
||||
//$partial_webform_link_url = $protocol.$website_host_name."/".$tmp_alias;
|
||||
$partial_webform_link_url = CRM_Utils_System::url($tmp_alias, "", TRUE, NULL, TRUE, TRUE);
|
||||
|
||||
}else{
|
||||
$partial_webform_link_url = $protocol.$website_host_name."/node/".$tmp_nid;
|
||||
//$partial_webform_link_url = $protocol.$website_host_name."/node/".$tmp_nid;
|
||||
$partial_webform_link_url = CRM_Utils_System::url("/node/".$tmp_nid , "", TRUE, NULL, TRUE, TRUE);
|
||||
}
|
||||
$link_label = $tmp_title;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user