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
68a40113
Commit
68a40113
authored
Oct 19, 2016
by
Dominik Hebeler
Browse files
Fehler lag daran, dass der Sprachfilter auf ein leeres Ergebnis-Array angewendet wurde.
Dieser Sonderfall war nicht geregelt.
parent
3f4dccbf
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/MetaGer.php
View file @
68a40113
...
...
@@ -266,6 +266,11 @@ class MetaGer
private
function
addLangCodes
(
$results
)
{
# Wenn es keine Ergebnisse gibt, brauchen wir uns gar nicht erst zu bemühen
if
(
sizeof
(
$results
)
===
0
)
{
return
$results
;
}
# Bei der Spracheinstellung "all" wird nicht gefiltert
if
(
$this
->
getLang
()
===
"all"
)
{
return
$results
;
...
...
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