diff --git a/lib/Service/Importer/BoardImportService.php b/lib/Service/Importer/BoardImportService.php index 39c2273fe..657f938b2 100644 --- a/lib/Service/Importer/BoardImportService.php +++ b/lib/Service/Importer/BoardImportService.php @@ -143,11 +143,13 @@ class BoardImportService { } /** - * @param mixed $system + * @param ?string $system * @return self */ public function setSystem($system): self { - $this->system = $system; + if ($system) { + $this->system = $system; + } return $this; }