加强uuid判断
This commit is contained in:
parent
77282a198e
commit
61539992be
|
@ -543,8 +543,8 @@ class ISO19115
|
||||||
}
|
}
|
||||||
//根据mdFileID来判断uuid
|
//根据mdFileID来判断uuid
|
||||||
//如果mdFileID为uuid的组织形式,则进行提取
|
//如果mdFileID为uuid的组织形式,则进行提取
|
||||||
if (strlen($this->mdFileID)==36 && empty($this->uuid))
|
if (strlen(trim($this->mdFileID))==36 && empty($this->uuid))
|
||||||
$this->uuid=$this->mdFileID;
|
$this->uuid=trim($this->mdFileID);
|
||||||
//仍然没有UUID信息,则创建一个
|
//仍然没有UUID信息,则创建一个
|
||||||
if (empty($this->uuid))
|
if (empty($this->uuid))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue