diff --git a/app/MetaGer.php b/app/MetaGer.php index 71ca446a788d3918c4d787e0eb46c6da3e597bb7..a86d7f26b8a3b62c6e12b5707f97362aadfd822f 100644 --- a/app/MetaGer.php +++ b/app/MetaGer.php @@ -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" && !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"}; }