Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
single_content_sync-3420339
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
single_content_sync-3420339
Commits
bdc455d0
Commit
bdc455d0
authored
1 year ago
by
Oleksandr Kuzava
Committed by
Oleksandr Kuzava
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#3355311
: Fix bug for empty bundles in config form.
parent
8ffb7549
No related branches found
Branches containing commit
Tags
1.3.15
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/Form/ContentSyncConfigForm.php
+2
-1
2 additions, 1 deletion
src/Form/ContentSyncConfigForm.php
with
2 additions
and
1 deletion
src/Form/ContentSyncConfigForm.php
+
2
−
1
View file @
bdc455d0
...
...
@@ -140,7 +140,8 @@ class ContentSyncConfigForm extends ConfigFormBase {
$allowed_types
=
[];
foreach
(
$source
as
$entity_type_id
=>
$info
)
{
if
(
$info
[
'enabled'
])
{
$allowed_types
[
$entity_type_id
]
=
array_filter
(
$info
[
'bundles'
]);
$bundles
=
$info
[
'bundles'
]
??
[];
$allowed_types
[
$entity_type_id
]
=
array_filter
(
$bundles
);
}
}
...
...
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