Skip to content

Commit

Permalink
Issue #1470: declare the HTML snippet as UTF-8
Browse files Browse the repository at this point in the history
  • Loading branch information
bschmalhofer committed Dec 2, 2021
1 parent 727e2c2 commit 32119fa
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Kernel/Modules/AgentStatistics.pm
Original file line number Diff line number Diff line change
Expand Up @@ -1056,8 +1056,10 @@ sub GeneralSpecificationsWidgetAJAX {
my ( $Self, %Param ) = @_;

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

return $LayoutObject->Attachment(
ContentType => 'text/html',
Charset => 'utf-8',
Content => $Kernel::OM->Get('Kernel::Output::HTML::Statistics::View')->GeneralSpecificationsWidget( UserID => $Self->{UserID} ),
Type => 'inline',
NoCache => 1,
Expand Down

0 comments on commit 32119fa

Please sign in to comment.