mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-04-09 16:38:50 +00:00
[EliteDangerousGalnetBridge] Remove duplicate items (#1167)
This commit is contained in:
parent
849eaeb50e
commit
55e1703741
@ -47,5 +47,8 @@ class EliteDangerousGalnetBridge extends BridgeAbstract {
|
|||||||
|
|
||||||
$this->items[] = $item;
|
$this->items[] = $item;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//Remove duplicates that sometimes show up on the website
|
||||||
|
$this->items = array_unique($this->items, SORT_REGULAR);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user