summaryrefslogtreecommitdiff
path: root/rt/html/Elements/SelectStatus
diff options
context:
space:
mode:
authorivan <ivan>2004-03-11 02:05:38 +0000
committerivan <ivan>2004-03-11 02:05:38 +0000
commit289340780927b5bac2c7604d7317c3063c6dd8cc (patch)
treec4100ab9857ae00c330213af8a46e66c208580e6 /rt/html/Elements/SelectStatus
parent945721f48f74d5cfffef7c7cf3a3d6bc2521f5dd (diff)
import of rt 3.0.9RT_3_0_9
Diffstat (limited to 'rt/html/Elements/SelectStatus')
-rw-r--r--rt/html/Elements/SelectStatus2
1 files changed, 2 insertions, 0 deletions
diff --git a/rt/html/Elements/SelectStatus b/rt/html/Elements/SelectStatus
index 2c1ffad..16a5f29 100644
--- a/rt/html/Elements/SelectStatus
+++ b/rt/html/Elements/SelectStatus
@@ -24,6 +24,7 @@
<SELECT NAME ="<%$Name%>">
<OPTION VALUE="">-</OPTION>
%foreach my $status (@status) {
+%next if ($SkipDeleted && $status eq 'deleted');
<OPTION VALUE="<%$status%>" <%($Default eq $status) && 'SELECTED'%>><%loc($status)%></OPTION>
% }
</SELECT>
@@ -34,4 +35,5 @@ my @status = $queue->StatusArray();
<%ARGS>
$Name => undef
$Default => undef
+$SkipDeleted => 0
</%ARGS>