Commit fea5c5e6 authored by Dominik Hebeler's avatar Dominik Hebeler
Browse files

Bugfix

parent fc31e73e
...@@ -26,6 +26,7 @@ class Fastbot extends Searchengine ...@@ -26,6 +26,7 @@ class Fastbot extends Searchengine
if (strlen($line) > 0) { if (strlen($line) > 0) {
# Hier bekommen wir jedes einzelne Ergebnis # Hier bekommen wir jedes einzelne Ergebnis
$result = explode("|:|", $line); $result = explode("|:|", $line);
if(count($result) < 4) continue;
$link = $result[1]; $link = $result[1];
$link = substr($link, strpos($link, "href=\"") + 6); $link = substr($link, strpos($link, "href=\"") + 6);
$link = substr($link, 0, strpos($link, "\"")); $link = substr($link, 0, strpos($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