Actions
Bug #90334
closedCommand "site:list" outputs wrong lines only with "Locale" and "Status"
Start date:
2020-02-06
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
10
PHP Version:
Tags:
Complexity:
easy
Is Regression:
Sprint Focus:
Description
We are using multiple site-configurations. The CLI-command "site:list" outputs after every new line one additional wrong line with only locale and status.
sysext/core/Classes/Command/SiteListCommand.php
Current code:
[...]
foreach ($sites as $site) {
$baseUrls = [];
$languages = [];
foreach ($site->getLanguages() as $language) {
[...]
Fixed code:
[...]
foreach ($sites as $site) {
$baseUrls = [];
$languages = [];
$locales = [];
$status = [];
foreach ($site->getLanguages() as $language) {
[...]
Files
Actions