diff options
| author | fukachan <fukachan> | 2004-03-29 14:13:20 +0000 |
|---|---|---|
| committer | fukachan <fukachan> | 2004-03-29 14:13:20 +0000 |
| commit | 6c551d632ef48e5753cb93cd61a73d5193d9cb9b (patch) | |
| tree | 8fe538ad89ce55db88a57edb847393392b802493 /fml/lib/FML/Command | |
| parent | eb8e1ede72f48843d2bd3af8829e5f924b592b31 (diff) | |
| download | fml8-6c551d632ef48e5753cb93cd61a73d5193d9cb9b.tar.gz fml8-6c551d632ef48e5753cb93cd61a73d5193d9cb9b.tar.bz2 fml8-6c551d632ef48e5753cb93cd61a73d5193d9cb9b.zip | |
list sub command do not run print_one_line_summary().
fix typo.
Diffstat (limited to 'fml/lib/FML/Command')
| -rw-r--r-- | fml/lib/FML/Command/Admin/thread.pm | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/fml/lib/FML/Command/Admin/thread.pm b/fml/lib/FML/Command/Admin/thread.pm index 1b44826d..b6038ee8 100644 --- a/fml/lib/FML/Command/Admin/thread.pm +++ b/fml/lib/FML/Command/Admin/thread.pm @@ -4,7 +4,7 @@ # All rights reserved. This program is free software; you can # redistribute it and/or modify it under the same terms as Perl itself. # -# $FML: thread.pm,v 1.4 2003/08/23 04:35:32 fukachan Exp $ +# $FML: thread.pm,v 1.5 2004/03/28 13:05:55 fukachan Exp $ # package FML::Command::Admin::thread; @@ -108,8 +108,9 @@ sub _new_switch elsif ($command eq 'list') { $th_args->{ range } = $range || ''; $article_thread->print_list($th_args); + $article_thread->print_one_line_summary($th_args); } - elsif ($command eq 'open' | $command eq 'reopen') { + elsif ($command eq 'open' || $command eq 'reopen') { $th_args->{ range } = $range || ''; $article_thread->open_thread_status($th_args); } |
