Changeset 2044

Show
Ignore:
Timestamp:
09/06/08 09:23:00
Author:
hsbt
Message:

fix bug. is uninitialized.

Files:

Legend:

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

    r2043 r2044  
    3030sub publish_entry { 
    3131    my($self, $context, $args) = @_; 
     32    my $body = $args->{entry}->body_text; 
    3233 
    3334    if ($self->conf->{templatize}) { 
    34         my $body = $self->templatize('twitter.tt', $args); 
    35     } else { 
    36         $body = $args->{entry}->body_text; 
     35        $body = $self->templatize('twitter.tt', $args); 
    3736    } 
    3837