Skip to content
Snippets Groups Projects
Verified Commit eb826603 authored by Kevin Cristiano's avatar Kevin Cristiano :earth_americas:
Browse files

add Christian Wach fixes

parent cbefb1c3
No related branches found
No related tags found
No related merge requests found
......@@ -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];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment