From 61539992be5261fbad0232fdb20c9bc6b216e004 Mon Sep 17 00:00:00 2001 From: wlx Date: Tue, 12 Jun 2012 10:21:13 +0000 Subject: [PATCH] =?UTF-8?q?=E5=8A=A0=E5=BC=BAuuid=E5=88=A4=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/models/ISO19115.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)) {