Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Maxime Besson
lemonldap-ng
Commits
62167a41
Commit
62167a41
authored
Feb 19, 2019
by
Christophe Maudoux
🐛
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Load Portal despite translation file does not exist (#1595)
parent
9134fc9e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Main/Init.pm
lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Main/Init.pm
+1
-1
No files found.
lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Main/Init.pm
View file @
62167a41
...
...
@@ -97,7 +97,7 @@ sub init {
);
# Load override messages from file and lemonldap-ng.ini
if
(
$self
->
{
localConfig
}
->
{
translations
}
)
{
if
(
$self
->
{
localConfig
}
->
{
translations
}
and
-
f
$self
->
{
localConfig
}
->
{
translations
}
and
-
r
$self
->
{
localConfig
}
->
{
translations
}
)
{
open
my
$tr_file
,
'
<
',
$self
->
{
localConfig
}
->
{
translations
}
or
die
"
Can't open
"
.
$self
->
{
localConfig
}
->
{
translations
}
.
"
: $!
";
...
...
Write
Preview
Markdown
is supported
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