Merge pull request #5439 from nextcloud/backport/5354/stable26

[stable26] fix: allow null label colors in trello json importer
This commit is contained in:
Julius Härtl
2024-01-09 11:33:00 +01:00
committed by GitHub

View File

@@ -332,7 +332,7 @@ class TrelloJsonService extends ABoardImportService {
return $return;
}
private function translateColor(string $color): string {
private function translateColor(?string $color): string {
switch ($color) {
case 'red':
return 'ff0000';