Skip to content

Commit

Permalink
fix: typo so duckduckgo works again (merge pull request #51 from davi…
Browse files Browse the repository at this point in the history
…dovski/fix_duckduckgo)

Fix typo in duckduckgo
  • Loading branch information
Ahwxorg authored Sep 9, 2023
2 parents d0499ba + 049272c commit d64b917
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engines/text/duckduckgo.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public function parse_results($response) {
if ($url == null)
continue;

if (!empty($results)) // filter duplicate results {
if (!empty($results)) { // filter duplicate results
if (end($results)["url"] == $url->textContent)
continue;
}
Expand Down

0 comments on commit d64b917

Please sign in to comment.