littlefix on creation

This commit is contained in:
lmarcouiller 2021-04-29 10:54:24 +02:00
parent d4fb9c7c47
commit 4b4bf9321d

View File

@ -218,7 +218,6 @@ class KnowledgeRecord extends CommonObject
*/
public function create(User $user, $notrigger = false)
{
$this->question = "ABCD";
return $this->createCommon($user, $notrigger);
}
@ -883,6 +882,7 @@ class KnowledgeRecord extends CommonObject
*/
public function initAsSpecimen()
{
$this->question = "ABCD";
$this->initAsSpecimenCommon();
}