[EliteDangerousGalnetBridge] Remove duplicate items (#1167)

This commit is contained in:
Corentin Garcia 2019-06-16 20:35:24 +02:00 committed by LogMANOriginal
parent 849eaeb50e
commit 55e1703741

View file

@ -47,5 +47,8 @@ class EliteDangerousGalnetBridge extends BridgeAbstract {
$this->items[] = $item;
}
//Remove duplicates that sometimes show up on the website
$this->items = array_unique($this->items, SORT_REGULAR);
}
}