From 525e83c303c1f3a7e2053db66cb7ed34ebb67b09 Mon Sep 17 00:00:00 2001 From: wlx Date: Fri, 4 May 2012 08:58:22 +0000 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=94=BE=E8=B7=B3=E8=BF=87?= =?UTF-8?q?=E9=94=99=E8=AF=AF=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/models/ISO19115.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/models/ISO19115.php b/application/models/ISO19115.php index c2210741..48aafa3c 100755 --- a/application/models/ISO19115.php +++ b/application/models/ISO19115.php @@ -360,7 +360,7 @@ class ISO19115 $this->author[$k]['city']=$author->getElementsByTagName('city')->item(0)->nodeValue; $this->author[$k]['administrative']=$author->getElementsByTagName('adminArea')->item(0)->nodeValue; $this->author[$k]['country']=$author->getElementsByTagName('country')->item(0)->nodeValue; - $this->author[$k]['role']=$author->getElementsByTagName('RoleCd')->item(0)->attributes->getNamedItem('value')->nodeValue; + @$this->author[$k]['role']=$author->getElementsByTagName('RoleCd')->item(0)->attributes->getNamedItem('value')->nodeValue; } $cnt=$k+1; $authors=$this->dom->getElementsByTagName('mdContact');