Przeglądaj źródła

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

Lacey Sanderson 10 lat temu
rodzic
commit
df1774453c
1 zmienionych plików z 1 dodań i 1 usunięć
  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 {