Ver Fonte

Don't remember what was changed in CV.api.in, but made a change to insert form for an analysis

spficklin há 12 anos atrás
pai
commit
67b3d34903

+ 1 - 1
tripal_analysis/tripal_analysis.module

@@ -431,7 +431,7 @@ function chado_analysis_form($node) {
   $form['description']= array(
       '#type' => 'textarea',
       '#rows' => 15,
-      '#title' => t('Description and/or Program Settings'),
+      '#title' => t('Materials & Methods (Description and/or Program Settings)'),
       '#required' => FALSE,
       '#default_value' => $description,
       '#description' => t('Please provide all necessary information to allow

+ 2 - 0
tripal_cv/api/tripal_cv.api.inc

@@ -465,6 +465,7 @@ function tripal_cv_add_cvterm($term, $defaultcv='', $is_relationship = 0, $updat
     else {
       drupal_set_message("Added relationship CV term: $name ($dbname)");
     }
+    return $cvterm;
   }
   elseif ($update) { // update the cvterm
     $sql = "
@@ -483,6 +484,7 @@ function tripal_cv_add_cvterm($term, $defaultcv='', $is_relationship = 0, $updat
     else {
       drupal_set_message("Updated relationship CV term: $name ($dbname)");
     }
+    return $cvterm;
   }
   // return the cvterm
   return $cvterm;