diff --git a/app/MetaGer.php b/app/MetaGer.php index 0d526811506a99a65300bf547663cd7b734d7d50..19185c87bedafac79f120855a31c9dc2da5514c0 100644 --- a/app/MetaGer.php +++ b/app/MetaGer.php @@ -944,6 +944,13 @@ class MetaGer } } + # If no main engines are enabled by the user we will wait for all results + if (sizeof($enginesToWaitFor) === 0) { + foreach ($engines as $engine) { + $enginesToWaitFor[] = $engine->hash; + } + } + $timeStart = microtime(true); while (sizeof($enginesToWaitFor) > 0) { if ((microtime(true) - $timeStart) >= 2) {