Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed OpenSearch for Firefox #319

Open
wants to merge 8 commits into
base: dev
Choose a base branch
from
Open
7 changes: 2 additions & 5 deletions Kernel/Output/HTML/HeaderMeta/AgentTicketSearch.pm
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,8 @@ sub Run {
# get layout object
my $LayoutObject = $Kernel::OM->Get('Kernel::Output::HTML::Layout');

my $Session = '';
if ( !$LayoutObject->{SessionIDCookie} ) {
$Session = ';' . $LayoutObject->{SessionName} . '='
. $LayoutObject->{SessionID};
}
my $Session = ';' . $LayoutObject->{SessionName} . '='
. $LayoutObject->{SessionID};

# get config object
my $ConfigObject = $Kernel::OM->Get('Kernel::Config');
Expand Down
8 changes: 3 additions & 5 deletions Kernel/Output/HTML/HeaderMeta/CustomerTicketSearch.pm
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,9 @@ sub Run {

my $LayoutObject = $Kernel::OM->Get('Kernel::Output::HTML::Layout');

my $Session = '';
if ( !$LayoutObject->{SessionIDCookie} ) {
$Session = ';' . $LayoutObject->{SessionName} . '='
. $LayoutObject->{SessionID};
}
my $Session = ';' . $LayoutObject->{SessionName} . '='
. $LayoutObject->{SessionID};

my $Title = $Kernel::OM->Get('Kernel::Config')->Get('ProductName');
$Title .= ' - ' . $LayoutObject->{LanguageObject}->Translate('Customer');
$Title .= ' (' . $Kernel::OM->Get('Kernel::Config')->Get('Ticket::Hook') . ')';
Expand Down
Loading