Commit 951acc9e authored by Dominik Hebeler's avatar Dominik Hebeler
Browse files

Syntaxfehler in der Yandex.php behoben

parent a6387d93
...@@ -57,7 +57,7 @@ class Yandex extends Searchengine ...@@ -57,7 +57,7 @@ class Yandex extends Searchengine
if( $metager->getPage() <= 1 ) if( $metager->getPage() <= 1 )
return; return;
$next = new Yandex(simplexml_load_string($this->engine), $metager); $next = new Yandex(simplexml_load_string($this->engine), $metager);
$next->getString .= "page=" . ($metager->getPage() -1 ); $next->getString .= "&page=" . ($metager->getPage() -1 );
$this->next = $next; $this->next = $next;
} }
...@@ -66,7 +66,7 @@ class Yandex extends Searchengine ...@@ -66,7 +66,7 @@ class Yandex extends Searchengine
if( count($this->results) <= 0 ) if( count($this->results) <= 0 )
return; return;
$next = new Yandex(simplexml_load_string($this->engine), $metager); $next = new Yandex(simplexml_load_string($this->engine), $metager);
$next->getString .= "page=" . $metager->getPage(); $next->getString .= "&page=" . $metager->getPage();
$this->next = $next; $this->next = $next;
} }
} }
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