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 <[email protected]>
  • Loading branch information
jacksbox committed Dec 6, 2023
1 parent cae6d94 commit 197d41b
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 197d41b

Please sign in to comment.