Commit d6e9474f authored by Jürgen Haas's avatar Jürgen Haas
Browse files

Issue #3304333: Import models from other modellers into eca_cm

parent c7d5631b
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -28,9 +28,7 @@ function eca_cm_form_eca_import_validate(array &$form, FormStateInterface $form_
  }
  $model = $form_state->getValue('model');
  if (is_array($model)) {
    $model['id'] .= '_from_' . $model['modeller'];
    $model['label'] .= ' (from ' . $model['modeller'] . ')';
    $model['modeller'] = 'core';
    $model['modellerId'] = 'core';
    $form_state->setValue('model', $model);
  }
  else {