Explorar o código

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

E.Cannon %!s(int64=7) %!d(string=hai) anos
pai
achega
abf880bb78
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  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';
   }