فهرست منبع

Fixed a bug in the chado insert API call where the options argument wasn't default and we had legacy code calling the function without the 3rd argument

Stephen Ficklin 12 سال پیش
والد
کامیت
1da6be4277
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      tripal_core/tripal_core.api.inc

+ 1 - 1
tripal_core/tripal_core.api.inc

@@ -112,7 +112,7 @@ require_once "tripal_core.schema.api.inc";
  *
  * @ingroup tripal_chado_api
  */
-function tripal_core_chado_insert($table, $values, $options) {
+function tripal_core_chado_insert($table, $values, $options = array()) {
   $insert_values = array();
   $chado_db = tripal_db_persistent_chado();