Fix quotes causing function call to be in quotes
authorEileen McNaughton <emcnaughton@wikimedia.org>
Wed, 29 Nov 2023 21:40:08 +0000 (10:40 +1300)
committerEileen McNaughton <emcnaughton@wikimedia.org>
Wed, 29 Nov 2023 21:40:08 +0000 (10:40 +1300)
CRM/Contribute/Form/Contribution/ThankYou.php

index 38854cb47f27c7fa52f2d02b30817d9711563e6b..5fecac79ab2e7e1bf020fceffe9f5cc8e30fc39d 100644 (file)
@@ -52,7 +52,7 @@ class CRM_Contribute_Form_Contribution_ThankYou extends CRM_Contribute_Form_Cont
     // Link (button) for users to create their own Personal Campaign page
     if ($linkText = CRM_PCP_BAO_PCP::getPcpBlockStatus($this->getContributionPageID(), 'contribute')) {
       $linkTextUrl = CRM_Utils_System::url('civicrm/contribute/campaign',
-        "action=add&reset=1&pageId=' . $this->getContributionPageID() . '&component=contribute",
+        'action=add&reset=1&pageId=' . $this->getContributionPageID() . '&component=contribute',
         FALSE, NULL, TRUE
       );
     }