소스 검색

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';
   }