From 363812fa4b609105b5c97504da93ee9951690a46 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mario=20J=C3=A4ckle?= Date: Wed, 6 Dec 2023 17:29:08 +0100 Subject: [PATCH] fix: allow null label colors in trello json importer MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mario Jäckle --- lib/Service/Importer/Systems/TrelloJsonService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Service/Importer/Systems/TrelloJsonService.php b/lib/Service/Importer/Systems/TrelloJsonService.php index a4a3673c1..71c897cec 100644 --- a/lib/Service/Importer/Systems/TrelloJsonService.php +++ b/lib/Service/Importer/Systems/TrelloJsonService.php @@ -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';