Sometimes Certain Feeds Aren't Updated
ncy - January 29, 2009 - 21:30
| Project: | SimpleBlogroll |
| Version: | 6.x-1.4 |
| Component: | Code/Feeds |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
i suspect it's when the feeds are missing titles, and then the item gets assigned the value 'NULL_EMPTY'. i had to add "&& $item != 'NULL_EMPTY'" on the if-statement in this block of code in simpleblogroll.module:
function _simpleblogroll_modify_db($op, $feedurl = '') {
...
case 'update':
if ($item != '' && $item != 'NULL_EMPTY') {
$query_check_for_item = db_query('SELECT feed_title, last_item '
.'FROM {simpleblogroll} '
."WHERE last_item = '%s'",
$item
);
}
...
}
#1
Yes, it seems to fix the problem. Porting ASAP.
#2
Committed. Should be 1.5 once D.o has completed the cron cycle.
#3
Automatically closed -- issue fixed for 2 weeks with no activity.