Browse Source

Applied patch provided by Nelson Nazzicari for the views page listing

Stephen Ficklin 10 years ago
parent
commit
e5698c30ef
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tripal_views/theme/tripal_views_search_biological_content.tpl.php

+ 1 - 1
tripal_views/theme/tripal_views_search_biological_content.tpl.php

@@ -10,7 +10,7 @@ $disabled_views = variable_get('views_defaults', array());
 this site:</p>
 <DL>
 <?php foreach ($biological_views as $view) { ?>
-  <?php if (!isset($disabled_views[ $view['machine_name'] ]) OR ($disabled_views[ $view['machine_name'] ] == TRUE)) { ?>
+  <?php if (!isset($disabled_views[ $view['machine_name'] ]) OR ($disabled_views[ $view['machine_name'] ] == FALSE)) { ?>
     <DT><?php print l($view['human_name'], $view['link']); ?></DT>
     <DD><?php print $view['description']; ?></DD>
 <?php }} ?>