diff --git a/application/models/ISO19115.php b/application/models/ISO19115.php index ba62fff8..6c21987a 100755 --- a/application/models/ISO19115.php +++ b/application/models/ISO19115.php @@ -543,8 +543,8 @@ class ISO19115 } //根据mdFileID来判断uuid //如果mdFileID为uuid的组织形式,则进行提取 - if (strlen($this->mdFileID)==36 && empty($this->uuid)) - $this->uuid=$this->mdFileID; + if (strlen(trim($this->mdFileID))==36 && empty($this->uuid)) + $this->uuid=trim($this->mdFileID); //仍然没有UUID信息,则创建一个 if (empty($this->uuid)) {