Stop setting quickConfig for form that doesn't care
authorEileen McNaughton <emcnaughton@wikimedia.org>
Fri, 28 Jul 2023 04:54:34 +0000 (16:54 +1200)
committerEileen McNaughton <emcnaughton@wikimedia.org>
Fri, 28 Jul 2023 04:54:34 +0000 (16:54 +1200)
CRM/Price/BAO/PriceSet.php

index 4d58acb1d8881e0c7877bf0834c7f73e6c809faa..f2c2aa892fd69403a3e06a216b68312b8c41166a 100644 (file)
@@ -823,9 +823,6 @@ WHERE  id = %1";
     }
 
     $form->assign('quickConfig', $quickConfig);
-    if ($className == 'CRM_Contribute_Form_Contribution_Main') {
-      $form->_quickConfig = $quickConfig;
-    }
 
     // Mark which field should have the auto-renew checkbox, if any. CRM-18305
     if (!empty($form->_membershipTypeValues) && is_array($form->_membershipTypeValues)) {