Преглед на файлове

Fixed up the phenotype field again... but still needs more work

Stephen Ficklin преди 7 години
родител
ревизия
5070e151e9
променени са 1 файла, в които са добавени 3 реда и са изтрити 3 реда
  1. 3 3
      tripal_chado/includes/TripalFields/sbo__phenotype/sbo__phenotype_formatter.inc

+ 3 - 3
tripal_chado/includes/TripalFields/sbo__phenotype/sbo__phenotype_formatter.inc

@@ -68,13 +68,13 @@ class sbo__phenotype_formatter extends ChadoFieldFormatter {
       $rows[] = $row;
       $rows[] = $row;
     }
     }
     if ($has_type) {
     if ($has_type) {
-      $header[] = 'Phenotype';
+      $headers[] = 'Phenotype';
     }
     }
     if ($has_name) {
     if ($has_name) {
-      $header[] = 'Property';
+      $headers[] = 'Property';
     }
     }
     if ($has_value) {
     if ($has_value) {
-      $header[] = 'Value';
+      $headers[] = 'Value';
     }
     }
     $table = array(
     $table = array(
       'header' => $headers,
       'header' => $headers,