Changeset 2043

Show
Ignore:
Timestamp:
09/04/08 20:12:06
Author:
hsbt
Message:

use twitter.tt when templatize flag is only true.

Files:

Legend:

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

    r2040 r2043  
    3131    my($self, $context, $args) = @_; 
    3232 
    33     my $body = $self->templatize('twitter.tt', $args); 
    34  
    35     unless ($self->conf->{templatize})
     33    if ($self->conf->{templatize}) { 
     34        my $body = $self->templatize('twitter.tt', $args); 
     35    } else
    3636        $body = $args->{entry}->body_text; 
    3737    }