Ver código fonte

Bug Fix #429: Update call the theme_table() in match feature page (Take 2).

Lacey Sanderson 6 anos atrás
pai
commit
f97472073d
1 arquivos alterados com 6 adições e 1 exclusões
  1. 6 1
      tripal_chado/tripal_chado.module

+ 6 - 1
tripal_chado/tripal_chado.module

@@ -1183,7 +1183,12 @@ function tripal_feature_match_features_page($id) {
     }
     $table_attrs = array('class' => 'tripal-data-table');
     $output = "<p>The following features match the name '$id'.</p>";
-    $output .= theme_table($header, $rows, $table_attrs, $caption);
+    $output .= theme_table(array(
+      'header' => $header, 
+      'rows' => $rows, 
+      'attributes' => $table_attrs, 
+      'caption' => $caption
+    ));
     return $output;
   }