Commit 2d810c68 authored by Dominik Hebeler's avatar Dominik Hebeler

Fixed a Bug where Minism tried to load an invalid XML-String

parent b6ca7918
......@@ -14,7 +14,11 @@ class Minisucher extends Searchengine
public function loadResults ($content)
{
$content = simplexml_load_string($content);
try {
$content = simplexml_load_string($content);
} catch (\Exception $e) {
return;
}
if(!$content)
{
return;
......
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