Skip to content

Commit d940a56

Browse files
committed
Fix book update after register
Issue: documentacao-e-tarefas/desenvolvimento_e_infra#1048 Signed-off-by: Thiago Brasil <thiago@lepidus.com.br>
1 parent 34b1e88 commit d940a56

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

classes/services/ThothBookService.inc.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,7 @@ public function setActive()
147147
}
148148

149149
$originalThothBook = $this->getOriginalThothBook();
150+
$originalThothBook->setWorkId($this->getRegisteredEntryId());
150151
$originalThothBook->setWorkStatus(ThothWork::WORK_STATUS_ACTIVE);
151152
$this->repository->edit($originalThothBook);
152153
}

0 commit comments

Comments
 (0)