Commit 7955d455 authored by Drew Webber's avatar Drew Webber
Browse files

Issue #2901466 by Yago Elias, ciss: Comment in field_default_form() is missing...

Issue #2901466 by Yago Elias, ciss: Comment in field_default_form() is missing a "not", inverting its statement
parent e8f1cbd5
Loading
Loading
Loading
Loading
+1 −1
Changes for modules/field/field.form.inc: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -82,7 +82,7 @@ function field_default_form($entity_type, $entity, $field, $instance, $langcode,
  }

  // If field module handles multiple values for this form element, and we are
  // displaying an individual element, process the multiple value form.
  // not displaying an individual element, process the multiple value form.
  if (!isset($get_delta) && field_behaviors_widget('multiple values', $instance) == FIELD_BEHAVIOR_DEFAULT) {
    // Store the entity in the form.
    $form['#entity'] = $entity;