Commit 745da695 authored by Christian Loos's avatar Christian Loos
Browse files

make MoreAboutRequestorTicketList None work

Previously the comp_exist check for "ShowRequestorTicketsNone" failed and set
$TicketTemplate to the default "ShowRequestorTicketsActive".
Fixing this by treating MoreAboutRequestorTicketList set to None the same way
as if $ShowTickets where set to a false value.
parent e1fbb34a
......@@ -162,6 +162,8 @@ my $status_link_text = {Active => loc('Active Tickets'),
my $status_order = [qw/Active Inactive All/];
$m->callback( CallbackName => 'AddStatus', status_link_text => \$status_link_text, status_order => \$status_order );
$ShowTickets = 0 if $DefaultTicketsTab eq 'None';
unless ( $DefaultTicketsTab eq 'None' ) {
for (0 .. (@$status_order - 1)) {
$selected = $_ && last
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment