Browse Source

Trim the path of the database to remove spaces

Abdullah Almsaeed 6 years ago
parent
commit
f1b7698c69
1 changed files with 1 additions and 1 deletions
  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,