浏览代码

Debugging tables being created in wrong schema

spficklin 12 年之前
父节点
当前提交
85e468841c
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      tripal_core/api/tripal_core.api.inc

+ 1 - 1
tripal_core/api/tripal_core.api.inc

@@ -2411,7 +2411,7 @@ function tripal_get_moddir($module_name) {
  *
  *
  * @ingroup tripal_chado_api
  * @ingroup tripal_chado_api
  */
  */
-function tripal_db_set_active($dbname) {
+function tripal_db_set_active($dbname = 'default') {
   global $db_url, $db_type;
   global $db_url, $db_type;
   $chado_exists = 0;
   $chado_exists = 0;