summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Barth2010-07-18 18:42:31 (GMT)
committer Alex Barth2010-07-18 18:42:31 (GMT)
commitfb1a3853005f3adcbe8771d6499d3af8f2b38c79 (patch)
tree8cc7dcbd56362e1dfab469092654dfa3b57c3b86
parent6f4105c17b52fb680524c041c34fd1b784196173 (diff)
#856408 c.ex: Pass all for hook_feeds_node_processor_targets_alter() by reference.
-rw-r--r--CHANGELOG.txt2
-rw-r--r--mappers/filefield.inc2
-rw-r--r--mappers/link.inc2
3 files changed, 4 insertions, 2 deletions
diff --git a/CHANGELOG.txt b/CHANGELOG.txt
index 301c425..eddb594 100644
--- a/CHANGELOG.txt
+++ b/CHANGELOG.txt
@@ -3,6 +3,8 @@
Feeds 6.x 1.X XXXX
------------------
+- #856408 c.ex: Pass all $targets for hook_feeds_node_processor_targets_alter()
+ by reference.
- #853194 andrewlevine, alex_b: Mapping: don't reset all targets.
- #853144 alex_b: Consistent use of "replace" vs "update".
- #850998 alex_b: Clean up file upload form. Note: If you supply file paths
diff --git a/mappers/filefield.inc b/mappers/filefield.inc
index 7e7db66..a4ff57e 100644
--- a/mappers/filefield.inc
+++ b/mappers/filefield.inc
@@ -12,7 +12,7 @@
/**
* Implementation of hook_feeds_node_processor_targets_alter()
*/
-function filefield_feeds_node_processor_targets_alter($targets, $content_type) {
+function filefield_feeds_node_processor_targets_alter(&$targets, $content_type) {
$info = content_types($content_type);
$fields = array();
if (isset($info['fields']) && count($info['fields'])) {
diff --git a/mappers/link.inc b/mappers/link.inc
index fe95636..115eb5d 100644
--- a/mappers/link.inc
+++ b/mappers/link.inc
@@ -9,7 +9,7 @@
/**
* Implementation of hook_feeds_node_processor_targets_alter().
*/
-function link_feeds_node_processor_targets_alter($targets, $content_type) {
+function link_feeds_node_processor_targets_alter(&$targets, $content_type) {
$info = content_types($content_type);
$fields = array();