Quellcode durchsuchen

Slight code adjustments to tripal_core.api.inc

spficklin vor 14 Jahren
Ursprung
Commit
1a62eff1ae
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      tripal_core/tripal_core.api.inc

+ 1 - 1
tripal_core/tripal_core.api.inc

@@ -73,10 +73,10 @@ function tripal_core_chado_insert_test(){
 * well.
 */
 function tripal_core_chado_insert($table,$values){
-   $chado = tripal_core_get_chado_schema();
    $insert_values = array();
    
    // get the table description
+   $chado = tripal_core_get_chado_schema();
    $table_desc = $chado[$table];
 
    // iterate through the values array and create a new 'insert_values' array