Commit 9a0023d7 authored by Aria Givi's avatar Aria Givi

vor dem schneiden der arrays in kleinbuchstaben umgewandelt

parent 6867ae35
......@@ -55,9 +55,9 @@ class Minisucher extends Searchengine
$additionalInformation = ['date' => $dateVal];
$subcollection = explode(' ', $result->xpath('//doc/str[@name="subcollection"]')[0]->__toString());
$minism = explode(', ', simplexml_load_string($this->engine)["subcollections"]);
$result = implode(', ',array_intersect($subcollection, $minism));
$subcollection = array_map('strtolower', explode(' ', $result->xpath('//doc/str[@name="subcollection"]')[0]->__toString()));
$minism = array_map('strtolower', explode(', ', simplexml_load_string($this->engine)["subcollections"]));
$result = implode(', ', array_intersect($subcollection, $minism));
$gefVon = "<a href=\"https://metager.de\" target=\"_blank\" rel=\"noopener\">Minisucher: $result </a>";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment