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
open-source
MetaGer
Commits
13dc375a
Commit
13dc375a
authored
May 26, 2021
by
Dominik Hebeler
Browse files
fixed language tool
parent
3e228727
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
app/Http/Controllers/LanguageController.php
View file @
13dc375a
...
...
@@ -119,7 +119,7 @@ class LanguageController extends Controller
foreach
(
$languages
as
$lang
=>
$value
)
{
if
(
$lang
!==
$to
)
{
$langs
=
array_add
(
$langs
,
$lang
,
$lang
)
;
$langs
[
$lang
]
=
$lang
;
}
}
if
(
!
isset
(
$languages
[
$to
]))
{
...
...
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