Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Xavier Bachelot
lemonldap-ng
Commits
3c3b8ecc
Commit
3c3b8ecc
authored
Jan 15, 2019
by
Clément OUDOT
Browse files
Remove utf8 decode for menu (#1614)
parent
66de5a8e
Changes
1
Hide whitespace changes
Inline
Side-by-side
lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Main/Menu.pm
View file @
3c3b8ecc
...
...
@@ -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
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment