[EliteDangerousGalnetBridge] Remove duplicate items (#1167)
This commit is contained in:
parent
849eaeb50e
commit
55e1703741
1 changed files with 3 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue