Changeset 1216

Show
Ignore:
Timestamp:
08/07/06 16:43:25
Author:
miyagawa
Message:

fixed UUV warnings in Publish::Feed

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/plagger/lib/Plagger/Plugin/Publish/Feed.pm

    r1215 r1216  
    7777        $entry->modified($e->date) if $e->date; 
    7878 
    79         if ($feed_format eq 'RSS') { 
    80             $entry->author( 'nobody@example.com (' . $e->author . ')' ); 
    81         } else { 
    82             $entry->author($e->author); 
     79        if ($entry->author) { 
     80            $entry->author( $feed_format eq 'RSS' 
     81                                ? 'nobody@example.com (' . $e->author . ')' 
     82                                : $e->author ); 
    8383        } 
    8484