fix parse error
This commit is contained in:
parent
54ea3edac5
commit
2359a99ded
|
@ -559,7 +559,7 @@ class ISO19115
|
|||
}
|
||||
}
|
||||
//resRefDate
|
||||
$refdates=$this->dom->getElementsByTagName('resRefDate');
|
||||
$refdates=$this->dom->getElementsByTagName('resRefDate')->item(0)->nodeValue;
|
||||
foreach($refdates as $refdate)
|
||||
{
|
||||
if ($refdate->getElementsByTagName('DateTypCd')->item(0) && $refdate->getElementsByTagName('DateTypCd')->item(0)->hasAttributes() && $refdate->getElementsByTagName('DateTypCd')->item(0)->attributes->getNamedItem('value')->nodeValue=="publication")
|
||||
|
|
Loading…
Reference in New Issue