Skip to content

Commit

Permalink
Merge pull request #431 from mattwire/7contributionpagecaption
Browse files Browse the repository at this point in the history
Set title of list of lineitems to 'Payment Information' to use frontend title for contribution pages
  • Loading branch information
mattwire authored Apr 8, 2021
2 parents d02fd08 + 96bdd8c commit 8dfc38a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/wf_crm_webform_preprocess.inc
Original file line number Diff line number Diff line change
Expand Up @@ -604,7 +604,7 @@ class wf_crm_webform_preprocess extends wf_crm_webform_base {
];
return theme('table', [
'sticky' => FALSE,
'caption' => $this->contribution_page['title'],
'caption' => $this->contribution_page['frontend_title'] ?? $this->contribution_page['title'],
'header' => [],
'rows' => $rows,
'attributes' => ['id' => "wf-crm-billing-items"],
Expand Down

0 comments on commit 8dfc38a

Please sign in to comment.