Skip to content

Commit

Permalink
skip 'xx' language
Browse files Browse the repository at this point in the history
  • Loading branch information
autowp committed Jul 26, 2017
1 parent eed5fe9 commit 2b298b7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions module/Application/src/Application/Controller/Plugin/Pic.php
Original file line number Diff line number Diff line change
Expand Up @@ -587,6 +587,9 @@ private function picPageItemsData($picture, $carIds)

$currentLangName = null;
foreach ($langNames as $lang => $langName) {
if ($lang == 'xx') {
continue;
}
$name = $langName;
if (! isset($altNames[$name])) {
$altNames[$langName] = [];
Expand Down

0 comments on commit 2b298b7

Please sign in to comment.