Skip to content

Commit

Permalink
Merge pull request civicrm#11236 from mattwire/CRM-20164_Joomla_IPN
Browse files Browse the repository at this point in the history
CRM-20164 Fix IPN notify URL with Joomla when derived from menu item
  • Loading branch information
colemanw authored and sluc23 committed Jan 10, 2018
2 parents e7caecf + e57d7b3 commit 657bf4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CRM/Utils/System/Joomla.php
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ public function url(

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");
}
}
Expand Down

0 comments on commit 657bf4b

Please sign in to comment.