浏览代码

Fixed bug in stock template

Stephen Ficklin 10 年之前
父节点
当前提交
a6654f509e
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      tripal_stock/theme/templates/tripal_organism_stocks.tpl.php

+ 1 - 1
tripal_stock/theme/templates/tripal_organism_stocks.tpl.php

@@ -48,7 +48,7 @@ if (count($stocks) > 0) { ?>
       $name = $stock->uniquename;
     }
     if ($node->nid) {
-      $name = l($name, "node/$node->nid", array('attributes' => array('target' => '_blank')));
+      $name = l($name, "node/$stock->nid", array('attributes' => array('target' => '_blank')));
     }
 
     $rows[] = array(