소스 검색

Trim the path of the database to remove spaces

Abdullah Almsaeed 6 년 전
부모
커밋
f1b7698c69
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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,