Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
commerce-3293819
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-3293819
Commits
4f0b7977
Commit
4f0b7977
authored
11 years ago
by
Ryan Szrama
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#1923326
follow-up by rszrama: fix a notice in the event that could not be loaded.
parent
acf8e3f6
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
modules/customer/includes/commerce_customer.checkout_pane.inc
+5
-3
5 additions, 3 deletions
...les/customer/includes/commerce_customer.checkout_pane.inc
with
5 additions
and
3 deletions
modules/customer/includes/commerce_customer.checkout_pane.inc
+
5
−
3
View file @
4f0b7977
...
...
@@ -88,9 +88,11 @@ function commerce_customer_profile_pane_checkout_form($form, &$form_state, $chec
$profile
=
NULL
;
// If the associated order field has been set...
if
(
$field_name
=
variable_get
(
'commerce_'
.
$checkout_pane
[
'pane_id'
]
.
'_field'
,
''
)
&&
isset
(
$wrapper
->
{
$field_name
}))
{
$profile
=
$wrapper
->
{
$field_name
}
->
value
();
if
(
$field_name
=
variable_get
(
'commerce_'
.
$checkout_pane
[
'pane_id'
]
.
'_field'
,
''
))
{
watchdog
(
'DEBUG'
,
$field_name
);
if
(
isset
(
$wrapper
->
{
$field_name
}))
{
$profile
=
$wrapper
->
{
$field_name
}
->
value
();
}
}
else
{
// Or try the association stored in the order's data array if no field is set.
...
...
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