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

Do not use variable where not necessary, filter name of field on output.

parent b250842a
No related branches found
No related tags found
No related merge requests found
...@@ -21,8 +21,8 @@ function filefield_feeds_node_processor_targets_alter($targets, $content_type) { ...@@ -21,8 +21,8 @@ function filefield_feeds_node_processor_targets_alter($targets, $content_type) {
$name = isset($field['widget']['label']) ? $field['widget']['label'] : $field_name; $name = isset($field['widget']['label']) ? $field['widget']['label'] : $field_name;
$targets[$field_name] = array( $targets[$field_name] = array(
'name' => $name, 'name' => $name,
'callback' => $field['type'].'_feeds_set_target', 'callback' => 'filefield_feeds_set_target',
'description' => t('The URL for the CCK !name field of the node.', array('!name' => $name)), 'description' => t('The URL for the CCK @name field of the node.', array('@name' => $name)),
); );
} }
} }
......
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