diff options
| author | fukachan <fukachan> | 2001-02-04 12:53:35 +0000 |
|---|---|---|
| committer | fukachan <fukachan> | 2001-02-04 12:53:35 +0000 |
| commit | d57069a08575d245235ebaec08fb01bd336a6456 (patch) | |
| tree | 677d1373cef63114693ab82fc5238d55d3a1ed30 /fml/lib/FML | |
| parent | ed6749a2c735874fe719d8d29b60faf4f02acf8d (diff) | |
| download | fml8-d57069a08575d245235ebaec08fb01bd336a6456.tar.gz fml8-d57069a08575d245235ebaec08fb01bd336a6456.tar.bz2 fml8-d57069a08575d245235ebaec08fb01bd336a6456.zip | |
define get_content_header(),
get_content_body(),get_first_plaintext_message()
change toymodel to use get_first_plaintext_message()
Diffstat (limited to 'fml/lib/FML')
| -rw-r--r-- | fml/lib/FML/Ticket/Model/toymodel.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fml/lib/FML/Ticket/Model/toymodel.pm b/fml/lib/FML/Ticket/Model/toymodel.pm index 02f1686d..7bee0bf9 100644 --- a/fml/lib/FML/Ticket/Model/toymodel.pm +++ b/fml/lib/FML/Ticket/Model/toymodel.pm @@ -82,9 +82,9 @@ sub update_status { my ($self, $curproc, $args) = @_; my $rbody = $curproc->{ article }->{ body }; - my $content = $rbody->get_content_reference(); + my $content = $rbody->get_first_plaintext_message(); - if ($$content =~ /close/) { + if ($content =~ /close/) { $self->{ _status } = "close"; } else { |
