Explorar o código

Fixed bug in stock template

Stephen Ficklin %!s(int64=10) %!d(string=hai) anos
pai
achega
a6654f509e

+ 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(