Browse Source

Fixed an 'undefined variable' notice

E.Cannon 7 years ago
parent
commit
a1c2406b21
1 changed files with 1 additions and 1 deletions
  1. 1 1
      includes/blast_ui.node.inc

+ 1 - 1
includes/blast_ui.node.inc

@@ -485,7 +485,7 @@ function blastdb_load($nodes) {
       }
 
       // If the link-out type requires a db then provide one.
-      if ($type['require_db']) {
+      if (isset($type['require_db'])) {
         $nodes[$record->nid]->linkout->db_id = tripal_get_db(array('db_id' => $record->dbxref_db_id));
       }
       else {