TASK: Fix CGL

This commit is contained in:
Daniel Siepmann 2017-05-11 14:30:17 +02:00
parent 0f2ae732d7
commit ea1e3640dd
Signed by: Daniel Siepmann
GPG key ID: 33D6629915560EF4

View file

@ -44,13 +44,14 @@ class RelationResolver implements Singleton
*/
public function resolveRelationsForRecord(TcaTableService $service, array &$record)
{
$formData = GeneralUtility::makeInstance(FormDataCompiler::class, GeneralUtility::makeInstance(TcaDatabaseRecord::class))
->compile([
$formData = GeneralUtility::makeInstance(
FormDataCompiler::class,
GeneralUtility::makeInstance(TcaDatabaseRecord::class)
)->compile([
'tableName' => $service->getTableName(),
'vanillaUid' => (int)$record['uid'],
'command' => 'edit',
]);
$record = $formData['databaseRow'];
foreach (array_keys($record) as $column) {