Browse Source

Fix 'Undefined variable: sel_options tripal_chado.db.api.inc:334' warning during Chado install

Nick Booher 9 years ago
parent
commit
ea4612d518
1 changed files with 2 additions and 2 deletions
  1. 2 2
      tripal_chado/api/modules/tripal_chado.db.api.inc

+ 2 - 2
tripal_chado/api/modules/tripal_chado.db.api.inc

@@ -331,7 +331,7 @@ function tripal_insert_db($values, $options = array()) {
       tripal_report_error('tripal_chado', TRIPAL_WARNING, "Cannot create db '$dbname'.", NULL);
       return 0;
     }
-    $result = chado_select_record('db', array('*'), $sel_values, $sel_options);
+    $result = chado_select_record('db', array('*'), $sel_values);
   }
   // if it exists and update is enabled the do the update
   elseif ($update) {
@@ -341,7 +341,7 @@ function tripal_insert_db($values, $options = array()) {
       tripal_report_error('tripal_chado', TRIPAL_WARNING, "Cannot update db '$dbname'.", NULL);
       return 0;
     }
-    $result = chado_select_record('db', array('*'), $sel_values, $sel_options);
+    $result = chado_select_record('db', array('*'), $sel_values);
   }
 
   // return the database object