Kaynağa Gözat

Slight code adjustments to tripal_core.api.inc

spficklin 14 yıl önce
ebeveyn
işleme
1a62eff1ae
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  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