Skip to content
Snippets Groups Projects
Commit 35eadd45 authored by Davide Aprea's avatar Davide Aprea
Browse files

minor change

parent d786ab4a
No related branches found
No related tags found
3 merge requests!1895Development,!1775Development,!1765Resolve "add dummy-engine to docker installation"
...@@ -671,7 +671,7 @@ class MetaGer ...@@ -671,7 +671,7 @@ class MetaGer
# Special case if search engines are disabled # Special case if search engines are disabled
# Since bing is normally only active if a filter is set but it should be active, too if yahoo is disabled # Since bing is normally only active if a filter is set but it should be active, too if yahoo is disabled
if ($this->getFokus() === "web" && empty($this->enabledSearchengines["yahoo"]) && \Cookie::get("web_engine_bing") !== "off" && !isset($this->enabledSearchengines["dummy"])) { if ($this->getFokus() === "web" && empty($this->enabledSearchengines["yahoo"]) && \Cookie::get("web_engine_bing") !== "off" && isset($this->sumaFile->sumas->{"bing"})) {
$this->enabledSearchengines["bing"] = $this->sumaFile->sumas->{"bing"}; $this->enabledSearchengines["bing"] = $this->sumaFile->sumas->{"bing"};
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment