fix unchecked variable astf_secure_key in sendtoafriend-extra.tpl
This commit is contained in:
parent
3882a42da1
commit
5c40834db0
@ -16,7 +16,7 @@ $('document').ready(function(){
|
||||
{/literal}url: "{$module_dir}sendtoafriend_ajax.php",{literal}
|
||||
type: "POST",
|
||||
headers: {"cache-control": "no-cache"},
|
||||
data: {action: 'sendToMyFriend', secure_key: '{/literal}{$astf_secure_key}{literal}', name: name, email: email, id_product: id_product},{/literal}{literal}
|
||||
data: {action: 'sendToMyFriend', secure_key: '{/literal}{if isset($astf_secure_key)}{$astf_secure_key}{/if}{literal}', name: name, email: email, id_product: id_product},{/literal}{literal}
|
||||
dataType: "json",
|
||||
success: function(result) {
|
||||
$.fancybox.close();
|
||||
|
Loading…
Reference in New Issue
Block a user