Bläddra i källkod

Fixed bug with publishing analyses. local source had required field

Stephen Ficklin 7 år sedan
förälder
incheckning
0c11e707fe

+ 1 - 1
tripal_chado/includes/TripalFields/local__source_data/local__source_data_widget.inc

@@ -70,7 +70,7 @@ class local__source_data_widget extends ChadoFieldWidget {
       '#title' => 'Data Source Name',
       '#description' => 'The name of the source where data was obtained for this analysis.',
       '#default_value' => $sourcename,
-      '#required' => TRUE,
+      '#required' => $element['#required'],
     );
     $widget['source_data']['sourceversion'] = array(
       '#type' => 'textfield',