From 77db08fe7f752539b494ab2502c7f0fcb9eb350d Mon Sep 17 00:00:00 2001
From: Alex Barth <alex_b@53995.no-reply.drupal.org>
Date: Tue, 14 Sep 2010 15:00:47 +0000
Subject: [PATCH] #891982 bangpound, twistor: Support Link 2.x.

---
 CHANGELOG.txt    | 1 +
 mappers/link.inc | 1 +
 2 files changed, 2 insertions(+)

diff --git a/CHANGELOG.txt b/CHANGELOG.txt
index 960cf92d..2273b600 100644
--- a/CHANGELOG.txt
+++ b/CHANGELOG.txt
@@ -3,6 +3,7 @@
 Feeds 6.x xxxxxxxxxxxxxxxxxxxxxx
 --------------------------------
 
+- #891982 bangpound, twistor: Support Link 2.x.
 - #870278 budda: Fix SQL query in taxonomy_get_term_by_name_vid().
 - #795114 budda, alex_b: Taxonomy term processor doesn't require vocabulary to
   be set.
diff --git a/mappers/link.inc b/mappers/link.inc
index 115eb5df..39fbf9de 100644
--- a/mappers/link.inc
+++ b/mappers/link.inc
@@ -50,6 +50,7 @@ function link_feeds_node_processor_targets_alter(&$targets, $content_type) {
  *   The value to assign to the CCK field.
  */
 function link_feeds_set_target($node, $target, $value) {
+  module_load_include('inc', 'link');
   if (!empty($value)) {
     static $defaults = array();
     list($field_name, $sub_field) = split(':', $target);
-- 
GitLab