Skip to content

Commit

Permalink
Merge pull request #4816 from nextcloud/fix/occ-import-crash
Browse files Browse the repository at this point in the history
  • Loading branch information
juliusknorr authored Jun 20, 2023
2 parents 82e356a + cfa9c4d commit 36350fa
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions lib/Service/Importer/BoardImportService.php
Original file line number Diff line number Diff line change
Expand Up @@ -143,11 +143,13 @@ public function validateSystem(): void {
}

/**
* @param mixed $system
* @param ?string $system
* @return self
*/
public function setSystem($system): self {
$this->system = $system;
if ($system) {
$this->system = $system;
}
return $this;
}

Expand Down

0 comments on commit 36350fa

Please sign in to comment.