Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
commerce_paypal-3432125
Manage
Activity
Members
Labels
Plan
Custom issue tracker
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Issue forks
commerce_paypal-3432125
Commits
93f67aa7
Commit
93f67aa7
authored
1 year ago
by
Scott Hollenbeck
Committed by
Jonathan Sacksick
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#3394359
by sah62, Liliplanet: User error: "funding_source" is an invalid render array key.
parent
e04f61c1
No related branches found
Branches containing commit
Tags
8.x-3.0-alpha6
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
commerce_paypal.module
+3
-1
3 additions, 1 deletion
commerce_paypal.module
with
3 additions
and
1 deletion
commerce_paypal.module
+
3
−
1
View file @
93f67aa7
...
...
@@ -337,7 +337,9 @@ function commerce_paypal_preprocess_commerce_order(&$variables) {
// If we found a funding source, add its label to the template variables.
if
(
!
empty
(
$data
[
'funding_source'
]))
{
$variables
[
'order'
][
'funding_source'
]
=
commerce_paypal_funding_source_label
(
$data
[
'funding_source'
]);
$variables
[
'order'
][
'funding_source'
]
=
[
'#markup'
=>
commerce_paypal_funding_source_label
(
$data
[
'funding_source'
]),
];
}
}
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment