From 43e91b9082c8008d3ed499c4ed6b51ac51dfe05a 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 e1cfc8023..185e887c8 100644 --- a/lib/Service/BoardService.php +++ b/lib/Service/BoardService.php @@ -679,7 +679,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 {