Skip to content
Snippets Groups Projects
Commit 6f18a223 authored by Alex Barth's avatar Alex Barth
Browse files

Reverse mapping keys: use target as key.

parent 8d81d33a
No related branches found
No related tags found
No related merge requests found
...@@ -270,8 +270,8 @@ function theme_feeds_ui_build_mapping_form($form) { ...@@ -270,8 +270,8 @@ function theme_feeds_ui_build_mapping_form($form) {
if (is_array($form['processors'][$processor]['#mappings'])) { if (is_array($form['processors'][$processor]['#mappings'])) {
foreach ($form['processors'][$processor]['#mappings'] as $target => $mapping) { foreach ($form['processors'][$processor]['#mappings'] as $target => $mapping) {
$rows[] = array( $rows[] = array(
$source,
$mapping['source'], $mapping['source'],
$target,
$mapping['unique'] ? t('Yes') : t('No'), $mapping['unique'] ? t('Yes') : t('No'),
t('Remove'), t('Remove'),
); );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment