Loading mappers/file.inc +4 −1 Original line number Diff line number Diff line Loading @@ -34,7 +34,10 @@ function file_feeds_processor_targets($entity_type, $bundle_name) { foreach (field_info_instances($entity_type, $bundle_name) as $name => $instance) { $info = field_info_field($name); // Continue if the field was not found. if (!$info) { continue; } if (in_array($info['type'], array('file', 'image'))) { $targets[$name . ':uri'] = array( 'name' => t('@label: URI', array('@label' => $instance['label'])), Loading tests/feeds.test +1 −1 Original line number Diff line number Diff line Loading @@ -676,7 +676,7 @@ class FeedsWebTestCase extends DrupalWebTestCase { $nid = $matches[1]; // Test for actual integerness. $this->assertTrue($nid === (string) (int) $nid, 'Node id is an integer.'); $this->assertIdentical($nid, (string) (int) $nid); return $nid; } Loading Loading
mappers/file.inc +4 −1 Original line number Diff line number Diff line Loading @@ -34,7 +34,10 @@ function file_feeds_processor_targets($entity_type, $bundle_name) { foreach (field_info_instances($entity_type, $bundle_name) as $name => $instance) { $info = field_info_field($name); // Continue if the field was not found. if (!$info) { continue; } if (in_array($info['type'], array('file', 'image'))) { $targets[$name . ':uri'] = array( 'name' => t('@label: URI', array('@label' => $instance['label'])), Loading
tests/feeds.test +1 −1 Original line number Diff line number Diff line Loading @@ -676,7 +676,7 @@ class FeedsWebTestCase extends DrupalWebTestCase { $nid = $matches[1]; // Test for actual integerness. $this->assertTrue($nid === (string) (int) $nid, 'Node id is an integer.'); $this->assertIdentical($nid, (string) (int) $nid); return $nid; } Loading