From d1498486ebcae109ff61b28d576d1eb85a446a63 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julius=20H=C3=A4rtl?= Date: Mon, 2 May 2022 17:48:25 +0200 Subject: [PATCH] Fetch full board data after cloning MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl --- lib/Service/BoardService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Service/BoardService.php b/lib/Service/BoardService.php index 4927afc76..d660c08c0 100644 --- a/lib/Service/BoardService.php +++ b/lib/Service/BoardService.php @@ -676,7 +676,7 @@ class BoardService { $this->stackMapper->insert($newStack); } - return $newBoard; + return $this->find($newBoard->getId()); } public function transferBoardOwnership(int $boardId, string $newOwner, bool $changeContent = false): Board {