Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
TYPO3
tinymce
Commits
42a82799
Commit
42a82799
authored
Mar 21, 2015
by
Stefan Galinski
🎮
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[BUGFIX] Fix possible warning
Fixes:
https://forge.typo3.org/issues/65827
parent
0a1c30ef
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
Classes/Loader.php
Classes/Loader.php
+1
-1
No files found.
Classes/Loader.php
View file @
42a82799
...
...
@@ -95,7 +95,7 @@ class Loader {
/** @var $locales \TYPO3\CMS\Core\Localization\Locales */
$locales
=
GeneralUtility
::
makeInstance
(
'\TYPO3\CMS\Core\Localization\Locales'
);
$locales
->
initialize
();
$isoArray
=
$locales
->
getIsoMapping
();
$isoArray
=
(
array
)
$locales
->
getIsoMapping
();
if
(
array_key_exists
(
$languageKey
,
$isoArray
))
{
$languageKey
=
$isoArray
[
$languageKey
];
...
...
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