diff options
Diffstat (limited to 'rt/html/Elements/SelectStatus')
-rw-r--r-- | rt/html/Elements/SelectStatus | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/rt/html/Elements/SelectStatus b/rt/html/Elements/SelectStatus index 2c1ffad39..16a5f2995 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> |