Skip to content

Commit

Permalink
fix: allow null label colors in trello json importer
Browse files Browse the repository at this point in the history
Signed-off-by: Mario Jäckle <github@jacksbox.de>
  • Loading branch information
jacksbox authored and backportbot-nextcloud[bot] committed Dec 6, 2023
1 parent e8ab1ad commit 363812f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Service/Importer/Systems/TrelloJsonService.php
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ public function getAclList(): array {
return $return;
}

private function translateColor(string $color): string {
private function translateColor(?string $color): string {
switch ($color) {
case 'red':
return 'ff0000';
Expand Down

0 comments on commit 363812f

Please sign in to comment.