forked from blallo/rss-bridge
[DuckDuckGOBridge] fix missing quotes
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
This commit is contained in:
parent
dd1474f154
commit
2466f109b8
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ class DuckDuckGoBridge extends BridgeAbstract{
|
|||
|
||||
public function collectData(array $param){
|
||||
$html = '';
|
||||
$link = 'http://duckduckgo.com/html/?q='.$param[u].'+sort:date';
|
||||
$link = 'http://duckduckgo.com/html/?q='.$param['u'].'+sort:date';
|
||||
|
||||
$html = $this->getSimpleHTMLDOM($link) or $this->returnServerError('Could not request DuckDuckGo.');
|
||||
|
||||
|
|
Loading…
Reference in a new issue