Fix: Paypal payment url management

This commit is contained in:
eldy 2011-09-06 00:53:50 +02:00
parent bec23c72c5
commit 09a91bc402

View File

@ -308,7 +308,7 @@ $var=false;
$valid=true;
if (! empty($conf->global->PAYPAL_SECURITY_TOKEN) )
{
$token = dol_hash($conf->global->PAYPAL_SECURITY_TOKEN . $SOURCE . $ref, 2);
$token = $conf->global->PAYPAL_SECURITY_TOKEN;
if ($SECUREKEY != $token) $valid=false;
}