Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
feeds
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
drupal.org
feeds
Commits
eee8ae7b
Commit
eee8ae7b
authored
13 years ago
by
Pieter Frenssen
Committed by
Dave Reid
13 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Issue #1085194: Not all selected mappings are removed.
parent
51600e96
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
feeds_ui/feeds_ui.admin.inc
+2
-2
2 additions, 2 deletions
feeds_ui/feeds_ui.admin.inc
with
2 additions
and
2 deletions
feeds_ui/feeds_ui.admin.inc
+
2
−
2
View file @
eee8ae7b
...
...
@@ -612,10 +612,10 @@ function feeds_ui_mapping_form_submit($form, &$form_state) {
foreach
(
$form_state
[
'values'
][
'remove_flags'
]
as
$k
=>
$v
)
{
if
(
$v
)
{
unset
(
$mappings
[
$k
]);
// Keep our keys clean.
$mappings
=
array_values
(
$mappings
);
}
}
// Keep our keys clean.
$mappings
=
array_values
(
$mappings
);
}
$processor
->
addConfig
(
array
(
'mappings'
=>
$mappings
));
$processor
->
save
();
...
...
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