Commit b42de10d authored by Davide Aprea's avatar Davide Aprea
Browse files

add dummy case for enabled search engines

parent 1c9a0f30
......@@ -671,7 +671,7 @@ class MetaGer
# 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
if ($this->getFokus() === "web" && empty($this->enabledSearchengines["yahoo"]) && \Cookie::get("web_engine_bing") !== "off") {
if ($this->getFokus() === "web" && empty($this->enabledSearchengines["yahoo"]) && \Cookie::get("web_engine_bing") !== "off" && !isset($this->enabledSearchengines["dummy"])) {
$this->enabledSearchengines["bing"] = $this->sumaFile->sumas->{"bing"};
}
......
Supports Markdown
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