Commit 2c25170c authored by Clément OUDOT's avatar Clément OUDOT

Remove utf8 decode for menu (#1614)

parent 6b29ae5b
......@@ -3,11 +3,10 @@
package Lemonldap::NG::Portal::Main::Menu;
use strict;
use utf8;
use Mouse;
use Clone 'clone';
our $VERSION = '2.0.1';
our $VERSION = '2.0.2';
extends 'Lemonldap::NG::Common::Module';
......@@ -188,7 +187,6 @@ sub appslist {
sub _buildCategoryHash {
my ( $self, $req, $catid, $cathash, $catlevel ) = @_;
my $catname = $cathash->{catname} || $catid;
utf8::decode($catname);
my $applications;
my $categories;
......@@ -244,8 +242,6 @@ sub _buildApplicationHash {
my $appuri = $apphash->{options}->{uri} || "";
my $appdesc = $apphash->{options}->{description};
my $applogo = $apphash->{options}->{logo};
utf8::decode($appname);
utf8::decode($appdesc) if $appdesc;
# Detect sub applications
my $subapphash;
......
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