fix codacy hint
This commit is contained in:
parent
23a0677045
commit
8afb35c1df
|
@ -789,7 +789,7 @@ class OaiPmh extends \Kitodo\Dlf\Common\AbstractPlugin
|
|||
return $this->error('noSetHierarchy');
|
||||
}
|
||||
$ListSets = $this->oai->createElementNS('http://www.openarchives.org/OAI/2.0/', 'ListSets');
|
||||
foreach($allResults as $resArray) {
|
||||
foreach ($allResults as $resArray) {
|
||||
$set = $this->oai->createElementNS('http://www.openarchives.org/OAI/2.0/', 'set');
|
||||
$set->appendChild($this->oai->createElementNS('http://www.openarchives.org/OAI/2.0/', 'setSpec', htmlspecialchars($resArray['oai_name'], ENT_NOQUOTES, 'UTF-8')));
|
||||
$set->appendChild($this->oai->createElementNS('http://www.openarchives.org/OAI/2.0/', 'setName', htmlspecialchars($resArray['label'], ENT_NOQUOTES, 'UTF-8')));
|
||||
|
|
Loading…
Reference in New Issue