瀏覽代碼

Merge pull request #468 from tripal/429-tv3-match_features

Update call the theme_table() in match feature page
Lacey-Anne Sanderson 6 年之前
父節點
當前提交
7af371dd35
共有 1 個文件被更改,包括 6 次插入1 次删除
  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;
   }