At RSS20.inc:
if ((string)$news['category'] && !empty($news['category']))
It's wrong, because the &&.
Correct code:
if ((string)$news['category'] || !empty($news['category'])) {
Only this way the $additional_taxonomies['RSS Categories'] won't be empty.
Comments
Comment #1
vito_swat commentedWell, I don't think we should check
!empty($news['category'])at all. If$news['category']casted to string gives us empty string it's simply empty or there was no category tag in this item. Checking if$news['category']is not empty is simply redundant.BTW If additional_taxonomies is an array we should collect all terms (like in RDF handler) and not simply top one so instead of:
there should be:
Comment #2
vito_swat commentedI forgot to change status
Comment #3
vito_swat commentedSimilar code committed in 5.x-4.0
Comment #4
(not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.