Verified Commit eb826603 authored by Kevin Cristiano's avatar Kevin Cristiano 🌎

add Christian Wach fixes

parent cbefb1c3
......@@ -10,7 +10,7 @@ require_once 'buttoncustomizations.civix.php';
*/
function buttoncustomizations_civicrm_buildForm($formName, &$form) {
// Change the button on contribution pages to read "Confirm Payment".
if ($formName == CRM_Contribute_Form_Contribution_Main) {
if ($formName == 'CRM_Contribute_Form_Contribution_Main') {
$buttonGroup = $form->getElement('buttons');
$buttons = $buttonGroup->getElements();
$submitButton = $buttons[0];
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment