Commit 17bcff28 authored by rubofvil's avatar rubofvil
Browse files

Fix bug setting the param cancelURL

parent 7d558e2d
......@@ -131,7 +131,7 @@ class CRM_Core_Payment_Redsys extends CRM_Core_Payment {
// Avoid issues with relative paths.
$config = CRM_Core_Config::singleton();
$returnURL = (strpos($returnURL, '/') === 0) ? $config->userFrameworkBaseURL . $returnURL : $returnURL;
$cancelURL = (strpos($returnURL, '/') === 0) ? $config->userFrameworkBaseURL . $cancelURL : $cancelURL;
$cancelURL = (strpos($cancelURL, '/') === 0) ? $config->userFrameworkBaseURL . $cancelURL : $cancelURL;
}
// CiviCRM Core Workflow, Contribution Pages / Events
elseif (!$returnURL && !$cancelURL) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment