Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
salesforce
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
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
project
salesforce
Commits
582f757f
Commit
582f757f
authored
2 years ago
by
Michelle Cox
Committed by
Aaron Bauman
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#3304404
by Michelle: Null $value causing PHP 8 deprecation warning
parent
ba200b96
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/salesforce_mapping/src/SalesforceMappingFieldPluginBase.php
+1
-1
1 addition, 1 deletion
...lesforce_mapping/src/SalesforceMappingFieldPluginBase.php
with
1 addition
and
1 deletion
modules/salesforce_mapping/src/SalesforceMappingFieldPluginBase.php
+
1
−
1
View file @
582f757f
...
@@ -242,7 +242,7 @@ abstract class SalesforceMappingFieldPluginBase extends PluginBase implements Sa
...
@@ -242,7 +242,7 @@ abstract class SalesforceMappingFieldPluginBase extends PluginBase implements Sa
break
;
break
;
}
}
if
(
$field_definition
[
'length'
]
>
0
&&
strlen
(
$value
)
>
$field_definition
[
'length'
])
{
if
(
!
empty
(
$value
)
&&
$field_definition
[
'length'
]
>
0
&&
strlen
(
$value
)
>
$field_definition
[
'length'
])
{
$value
=
substr
(
$value
,
0
,
$field_definition
[
'length'
]);
$value
=
substr
(
$value
,
0
,
$field_definition
[
'length'
]);
}
}
...
...
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