Commit 22cea274 authored by Dominik Hebeler's avatar Dominik Hebeler
Browse files

Merge branch 'Bugfix' into 'master'

Bug gefixt bei dem die Suche manchmal beim Parsen der Ergebnisse von zeitde abgestürzt ist.



See merge request !72
parents e4b95279 622b7822
...@@ -20,6 +20,8 @@ class Zeitde extends Searchengine ...@@ -20,6 +20,8 @@ class Zeitde extends Searchengine
return; return;
foreach( $results->{"matches"} as $result ) foreach( $results->{"matches"} as $result )
{ {
if( !isset($result->{"title"}) || !isset($result->{"href"}) || !isset($result->{"snippet"}))
continue;
$title = $result->{"title"}; $title = $result->{"title"};
$link = $result->{"href"}; $link = $result->{"href"};
$anzeigeLink = $link; $anzeigeLink = $link;
......
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