Changeset 1241

Show
Ignore:
Timestamp:
08/09/06 13:01:57
Author:
miyagawa
Message:

Fix parsing <category domain="...">Foo</category>. Thanks to typester for spotting this bug

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/plagger/lib/Plagger/Plugin/Aggregator/Simple.pm

    r1237 r1241  
    131131 
    132132        my $category = $e->category; 
    133            $category = [ $category ] if $category && !ref($category); 
     133           $category = [ $category ] if $category && (!ref($category) || ref($category) ne 'ARRAY'); 
    134134        $entry->tags([ map _u($_), @$category ]) if $category; 
    135135