浏览代码

Creates cvitjs_enabled field in if it doesn't exist ... when updating too.

E.Cannon 7 年之前
父节点
当前提交
abf880bb78
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      includes/blast_ui.node.inc

+ 4 - 0
includes/blast_ui.node.inc

@@ -374,6 +374,10 @@ function blastdb_update($node) {
     $db_id = $node->db_id;
   }
 
+  if (!$node->cvitjs_enabled) {
+    $node->cvitjs_enabled = 0;
+  }
+    
   if (!$node->dbxref_linkout_type) {
     $node->dbxref_linkout_type = 'none';
   }