Skip to content
Snippets Groups Projects
Commit a895c650 authored by Dominik Hebeler's avatar Dominik Hebeler
Browse files

Fixed a bug with disabled search engines

parent 0f169c87
No related branches found
No related tags found
No related merge requests found
......@@ -540,7 +540,7 @@ class MetaGer
foreach ($this->sumaFile->foki->{$this->fokus}->sumas as $suma) {
# Check if this engine is disabled and can't be used
$disabled = empty($suma->disabled) ? false : $suma->disabled;
$disabled = empty($this->sumaFile->sumas->{$suma}->disabled) ? false : $this->sumaFile->sumas->{$suma}->disabled;
if ($disabled) {
continue;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment