Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
replication
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
replication
Merge requests
!1
Deprecated code removed and updated with new.
Code
Review changes
Check out branch
Download
Patches
Plain diff
Open
Deprecated code removed and updated with new.
issue/replication-3236444:3236444-array-and-string
into
8.x-1.x
Overview
0
Commits
2
Pipelines
0
Changes
2
Open
Mohit Bansal
requested to merge
issue/replication-3236444:3236444-array-and-string
into
8.x-1.x
3 years ago
Overview
0
Commits
2
Pipelines
0
Changes
2
Expand
Closes
#3236444
0
0
Merge request reports
Compare
8.x-1.x
version 1
3bff4a1e
3 years ago
8.x-1.x (HEAD)
and
latest version
latest version
b80f33bb
2 commits,
3 years ago
version 1
3bff4a1e
1 commit,
3 years ago
2 files
+
2
−
2
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
src/Normalizer/ContentEntityNormalizer.php
+
1
−
1
Options
@@ -247,7 +247,7 @@ class ContentEntityNormalizer extends NormalizerBase implements DenormalizerInte
$translations
=
[];
foreach
(
$data
as
$key
=>
$translation
)
{
// Skip any keys that start with '_' or '@'.
if
(
in_array
(
$key
{
0
}
,
[
'_'
,
'@'
]))
{
if
(
in_array
(
$key
[
0
]
,
[
'_'
,
'@'
]))
{
continue
;
}
// When language is configured, undefined or not applicable go ahead with
Loading