Skip to content
Snippets Groups Projects
Commit 0d208706 authored by Kevin Paxman's avatar Kevin Paxman
Browse files

ISTWCMS-7265: make the comparison be the link instead of the title

parent 80fd009d
No related branches found
No related tags found
1 merge request!269ISTWCMS-7265 Make aggregator remove items from the Web Resources feed that don't exist
......@@ -337,7 +337,7 @@ function uw_custom_blocks_cron() {
foreach ($latest_feed_data->channel->item as $latest_item) {
// If the current item is in the latest feed data.
if ($item->getTitle() == (string) $latest_item->title) {
if ($item->getLink() == (string) $latest_item->link) {
// Set the flag to TRUE.
$item_found = TRUE;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment