diff --git a/Classes/QueryBuilder.php b/Classes/QueryBuilder.php index 052a744..0de081d 100644 --- a/Classes/QueryBuilder.php +++ b/Classes/QueryBuilder.php @@ -227,7 +227,8 @@ protected function prepareTca(string $tableName, int $pageId) : array $formDataCompilerInput = [ 'tableName' => $tableName, 'command' => 'new', - 'effectivePid' => $pageId + 'effectivePid' => $pageId, + 'vanillaUid' => $pageId ]; return $formDataCompiler->compile($formDataCompilerInput);