Force test contribution pages to front end
authorJason Gillman Jr <jgillman@miopencarry.org>
Thu, 17 Jan 2019 05:23:22 +0000 (00:23 -0500)
committerJason Gillman Jr <jgillman@miopencarry.org>
Thu, 17 Jan 2019 05:41:17 +0000 (00:41 -0500)
CRM/Contribute/Page/ContributionPage.php

index 9073ce204838304c71d88c6dc2071b845b06327a..ba93c5c95dbfb946588d969fe115b1382b090b1e 100644 (file)
@@ -215,6 +215,7 @@ class CRM_Contribute_Page_ContributionPage extends CRM_Core_Page {
           'title' => ts('Test-drive'),
           'url' => $urlString,
           'qs' => $urlParams . '&action=preview',
+          'fe' => TRUE,  // Addresses https://lab.civicrm.org/dev/core/issues/658
           'uniqueName' => 'test_drive',
         ),
       );