From 378e2b4cff55ecc296142b4f5c1ecd1b523d2d08 Mon Sep 17 00:00:00 2001 From: Matthew Wire Date: Fri, 3 Nov 2017 19:49:12 +0000 Subject: [PATCH] Fix IPN notify URL with Joomla when derived from menu item --- CRM/Utils/System/Joomla.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Utils/System/Joomla.php b/CRM/Utils/System/Joomla.php index 2b356ad26b..526438f4df 100644 --- a/CRM/Utils/System/Joomla.php +++ b/CRM/Utils/System/Joomla.php @@ -264,7 +264,7 @@ class CRM_Utils_System_Joomla extends CRM_Utils_System_Base { if ($config->userFrameworkFrontend) { $script = 'index.php'; - if (JRequest::getVar("Itemid")) { + if (JRequest::getVar("Itemid") && (strpos($path, 'civicrm/payment/ipn') === FALSE)) { $Itemid = "{$separator}Itemid=" . JRequest::getVar("Itemid"); } } -- 2.25.1