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');