summaryrefslogtreecommitdiff
path: root/fml
diff options
context:
space:
mode:
authorfukachan <fukachan>2001-02-06 09:45:01 +0000
committerfukachan <fukachan>2001-02-06 09:45:01 +0000
commit8d92fe33863fdf61327fe6cd39ac7cc818686902 (patch)
tree89cd20ea813307f749340f942b458421191ef93e /fml
parent4f9c07a90500ab2f098252d792d2874bf296ba25 (diff)
downloadfml8-8d92fe33863fdf61327fe6cd39ac7cc818686902.tar.gz
fml8-8d92fe33863fdf61327fe6cd39ac7cc818686902.tar.bz2
fml8-8d92fe33863fdf61327fe6cd39ac7cc818686902.zip
mode ||= default
Diffstat (limited to 'fml')
-rw-r--r--fml/lib/FML/Ticket/Model/toymodel.pm4
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 5a2c556c..a803a7d5 100644
--- a/fml/lib/FML/Ticket/Model/toymodel.pm
+++ b/fml/lib/FML/Ticket/Model/toymodel.pm
@@ -303,11 +303,11 @@ sub list_up
my $rh = $self->{ _hash_table };
my $rh_status = $rh->{ _status };
my ($tid, $status) = ();
- my $mode = $args->{ mode } || 'open_only';
+ my $mode = $args->{ mode } || 'default';
TICEKT_LIST:
while (($tid, $status) = each %$rh_status) {
- if ($mode eq 'open_only') {
+ if ($mode eq 'default') {
next TICEKT_LIST if $status =~ /close/o;
}