From 464a13c88fe6cdde58f3cbd4749d1011f37847c8 Mon Sep 17 00:00:00 2001 From: wlx Date: Thu, 12 Jun 2014 07:25:36 +0000 Subject: [PATCH] =?UTF-8?q?=E6=B3=A8=E9=87=8A=E5=85=83=E6=95=B0=E6=8D=AE?= =?UTF-8?q?=E4=B8=AD=E5=9B=BD=E5=AE=B6=E4=BF=A1=E6=81=AF=E7=9A=84=E8=AD=A6?= =?UTF-8?q?=E5=91=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/models/ISO19115.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/application/models/ISO19115.php b/application/models/ISO19115.php index 95411588..2d8a4da8 100755 --- a/application/models/ISO19115.php +++ b/application/models/ISO19115.php @@ -432,7 +432,7 @@ class ISO19115 $this->author[$cnt+$j]['postal']=$author->getElementsByTagName('postCode')->item(0)->nodeValue; $this->author[$cnt+$j]['city']=$author->getElementsByTagName('city')->item(0)->nodeValue; $this->author[$cnt+$j]['administrative']=$author->getElementsByTagName('adminArea')->item(0)->nodeValue; - $this->author[$cnt+$j]['country']=$author->getElementsByTagName('country')->item(0)->nodeValue; + @$this->author[$cnt+$j]['country']=$author->getElementsByTagName('country')->item(0)->nodeValue; $this->author[$cnt+$j]['role']=$author->getElementsByTagName('RoleCd')->item(0)->attributes->getNamedItem('value')->nodeValue; } $cnt+=$j+1; @@ -448,7 +448,7 @@ class ISO19115 $this->author[$cnt+$m]['postal']=$author->getElementsByTagName('postCode')->item(0)->nodeValue; $this->author[$cnt+$m]['city']=$author->getElementsByTagName('city')->item(0)->nodeValue; $this->author[$cnt+$m]['administrative']=$author->getElementsByTagName('adminArea')->item(0)->nodeValue; - $this->author[$cnt+$m]['country']=$author->getElementsByTagName('country')->item(0)->nodeValue; + @$this->author[$cnt+$m]['country']=$author->getElementsByTagName('country')->item(0)->nodeValue; $this->author[$cnt+$m]['role']=$author->getElementsByTagName('RoleCd')->item(0)->attributes->getNamedItem('value')->nodeValue; } $cnt+=$m+1; @@ -464,7 +464,7 @@ class ISO19115 $this->author[$cnt+$m]['postal']=$author->getElementsByTagName('postCode')->item(0)->nodeValue; $this->author[$cnt+$m]['city']=$author->getElementsByTagName('city')->item(0)->nodeValue; $this->author[$cnt+$m]['administrative']=$author->getElementsByTagName('adminArea')->item(0)->nodeValue; - $this->author[$cnt+$m]['country']=$author->getElementsByTagName('country')->item(0)->nodeValue; + @$this->author[$cnt+$m]['country']=$author->getElementsByTagName('country')->item(0)->nodeValue; $this->author[$cnt+$m]['role']=$author->getElementsByTagName('RoleCd')->item(0)->attributes->getNamedItem('value')->nodeValue; } /*