[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
1 changed files with 3 additions and 0 deletions

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);
}
}