Update Joomla.php
authorlsmithgo <lionel@smithgordon.com>
Thu, 9 Jul 2015 22:43:38 +0000 (23:43 +0100)
committerlsmithgo <lionel@smithgordon.com>
Thu, 9 Jul 2015 22:43:38 +0000 (23:43 +0100)
One word fix to CRM-16827 for redirection to login page and back during event registration

CRM/Utils/System/Joomla.php

index f270450164974d26b410600367b543d884590089..ae11502a676932d7baa206202a90be7d8aa2f039 100644 (file)
@@ -654,7 +654,7 @@ class CRM_Utils_System_Joomla extends CRM_Utils_System_Base {
     if ($args) {
       // append destination so user is returned to form they came from after login
       $args = 'reset=1' . $args;
-      $destination = CRM_Utils_System::url(CRM_Utils_System::currentPath(), $args, TRUE, NULL, TRUE, TRUE);
+      $destination = CRM_Utils_System::url(CRM_Utils_System::currentPath(), $args, TRUE, NULL, FALSE, TRUE);
     }
 
     return $destination;