Prechádzať zdrojové kódy

Fix 'Undefined variable: options' warning

Nick Booher 9 rokov pred
rodič
commit
7d609ad9e9

+ 1 - 1
tripal_cv/includes/tripal_cv.obo_loader.inc

@@ -1433,7 +1433,7 @@ function tripal_cv_obo_add_dbxref($db_id, $accession, $version='', $description=
       tripal_cv_obo_quiterror("Failed to insert the dbxref record $accession");
       tripal_cv_obo_quiterror("Failed to insert the dbxref record $accession");
       return FALSE;
       return FALSE;
     }
     }
-    $result = chado_select_record('dbxref', array('dbxref_id'), $values, $options);
+    $result = chado_select_record('dbxref', array('dbxref_id'), $values);
   }
   }
   return $result[0];
   return $result[0];
 }
 }