Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

improve ticket id detection. Under some circumstances the regex retur…

…ned the wrong ticket id.
  • Loading branch information...
commit 6e9cad2e10eeb5ff5ba5ba2aa69deaed5c1e0646 1 parent d1a1507
@reneeb authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  Kernel/Output/HTML/OutputFilterClose.pm
View
2  Kernel/Output/HTML/OutputFilterClose.pm
@@ -74,7 +74,7 @@ sub Run {
return 1 if !$Templatename;
if ( $Templatename =~ m{AgentTicketZoom\z} ) {
- my ($TicketID) = ${$Param{Data}} =~ m{TicketID=(\d+)};
+ my ($TicketID) = ${$Param{Data}} =~ m{<ul \s+ class="Actions" .*? TicketID=(\d+)}xms;
my $FormID = $Self->{UploadCacheObject}->FormIDCreate();
my %List = $Self->{QuickCloseObject}->QuickCloseList( Valid => 1 );
Please sign in to comment.
Something went wrong with that request. Please try again.