Commit 1a6ceaeb authored by gbyte.co's avatar gbyte.co

Issue #3055038 by johnjw59, gbyte.co: Duplicate root paths not removed

parent 48cb5328
......@@ -272,7 +272,7 @@ class QueueWorker {
protected function removeDuplicates(&$results) {
if ($this->generatorSettings['remove_duplicates'] && !empty($results)) {
$result = $results[key($results)];
if (!empty($result['meta']['path'])) {
if (isset($result['meta']['path'])) {
if (in_array($result['meta']['path'], $this->processedPaths)) {
$results = [];
}
......
Markdown is supported
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