summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaren Stevenson2011-03-15 22:36:33 (GMT)
committer Karen Stevenson2011-03-15 22:36:33 (GMT)
commit553b728beb8ee7ac931c858cf8c89b706b1eb99c (patch)
tree2334cc548c0963378d39a16758db673785a1c049
parentb59a022dbd29cea056460731271f64a8b710ab59 (diff)
Issue #1066268 by dww, PHP Notice: undefined index when migrating decimal number.
-rw-r--r--modules/content_migrate/includes/content_migrate.values.inc4
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/content_migrate/includes/content_migrate.values.inc b/modules/content_migrate/includes/content_migrate.values.inc
index d3c8606..79a7b50 100644
--- a/modules/content_migrate/includes/content_migrate.values.inc
+++ b/modules/content_migrate/includes/content_migrate.values.inc
@@ -151,7 +151,9 @@ function _content_migrate_get_instance_values($bundle = NULL, $field_name = NULL
$instance_value['display'] = array();
$label = $instance_value['display_settings']['label'];
foreach ($instance_value['display_settings'] as $context => $settings) {
-
+ if ($context == 'label') {
+ continue;
+ }
// @TODO Multigroup fields have some unexpected elements, we need to work out what should happen to them.
if ($context == 'parent' || $context == 'weight') {
continue;