Browse Source

Fix for logging errors

Stephen Ficklin 5 years ago
parent
commit
e7c9009b47
1 changed files with 1 additions and 0 deletions
  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;