diff options
| author | fukachan <fukachan> | 2001-03-21 15:40:04 +0000 |
|---|---|---|
| committer | fukachan <fukachan> | 2001-03-21 15:40:04 +0000 |
| commit | 7956e5bac630584b74ddf826cf29d76a966b8bba (patch) | |
| tree | 8dbd43fefb194e3a0e4852b965f7dc6d4b7be042 /fml/lib/FML/Process/TicketSystem.pm | |
| parent | bf3eae8c2b334ac5745397c3994071b0f22da99e (diff) | |
| download | fml8-7956e5bac630584b74ddf826cf29d76a966b8bba.tar.gz fml8-7956e5bac630584b74ddf826cf29d76a966b8bba.tar.bz2 fml8-7956e5bac630584b74ddf826cf29d76a966b8bba.zip | |
fix @ISA
call $ticket->mode( mode => text) to ensure text mode.
Diffstat (limited to 'fml/lib/FML/Process/TicketSystem.pm')
| -rw-r--r-- | fml/lib/FML/Process/TicketSystem.pm | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/fml/lib/FML/Process/TicketSystem.pm b/fml/lib/FML/Process/TicketSystem.pm index e6914591..a7f3c65e 100644 --- a/fml/lib/FML/Process/TicketSystem.pm +++ b/fml/lib/FML/Process/TicketSystem.pm @@ -17,6 +17,9 @@ use FML::Process::Kernel; use FML::Log qw(Log LogWarn LogError); use FML::Config; +@ISA = qw(FML::Process::Kernel); + + =head1 NAME FML::Process::TicketSystem -- primitive fml5 ticket system @@ -38,9 +41,6 @@ FML::Process::TicketSystem -- primitive fml5 ticket system =cut -@ISA = qw(FML::Process::Kernel Exporter); - - sub new { my ($self, $args) = @_; @@ -73,6 +73,7 @@ sub run eval qq{ require $pkg; $pkg->import();}; unless ($@) { my $ticket = $pkg->new($curproc, $args); + $ticket->mode( { mode => 'text' } ); if ($command eq 'list') { $ticket->show_summary($curproc, $args); |
