浏览代码

Bug Fix: in blastdb_load tried to access directly when needed to access [->nid]

Lacey Sanderson 10 年之前
父节点
当前提交
df1774453c
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      includes/blast_ui.node.inc

+ 1 - 1
includes/blast_ui.node.inc

@@ -307,7 +307,7 @@ function blastdb_load($nodes) {
       $nodes[$record->nid]->linkout = new stdClass();
 
       if (preg_match('/\/.*\//', $record->dbxref_id_regex)) {
-        $node->linkout->regex_type = 'custom';
+        $nodes[$record->nid]->linkout->regex_type = 'custom';
         $nodes[$record->nid]->linkout->regex = $record->dbxref_id_regex;
       }
       else {