瀏覽代碼

Fix for logging errors

Stephen Ficklin 5 年之前
父節點
當前提交
e7c9009b47
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      tripal_chado/api/tripal_chado.custom_tables.api.inc

+ 1 - 0
tripal_chado/api/tripal_chado.custom_tables.api.inc

@@ -357,6 +357,7 @@ function chado_get_base_custom_tables() {
   $num_tables = 0;
   $sql = "SELECT table_name FROM {tripal_custom_tables} WHERE is_base = 1";
   $resource = db_query($sql);
+  $tables = [];
 
   foreach ($resource as $r) {
     $tables[$r->table_name] = $r->table_name;