Explorar el Código

Trim the path of the database to remove spaces

Abdullah Almsaeed hace 6 años
padre
commit
f1b7698c69
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      includes/blast_ui.node.inc

+ 1 - 1
includes/blast_ui.node.inc

@@ -362,7 +362,7 @@ function blastdb_insert($node) {
   db_insert('blastdb')->fields(array(
     'nid'                 => $node->nid,
     'name'                => $node->db_name,
-    'path'                => $node->db_path,
+    'path'                => trim($node->db_path),
     'dbtype'              => $node->db_dbtype,
     'dbxref_id_regex'     => $regex,
     'dbxref_db_id'        => $db_id,