mirror of
https://github.com/Codappix/search_core.git
synced 2024-11-26 07:56:12 +01:00
TASK: Fix CGL
This commit is contained in:
parent
0f2ae732d7
commit
ea1e3640dd
1 changed files with 8 additions and 7 deletions
|
@ -44,13 +44,14 @@ class RelationResolver implements Singleton
|
||||||
*/
|
*/
|
||||||
public function resolveRelationsForRecord(TcaTableService $service, array &$record)
|
public function resolveRelationsForRecord(TcaTableService $service, array &$record)
|
||||||
{
|
{
|
||||||
$formData = GeneralUtility::makeInstance(FormDataCompiler::class, GeneralUtility::makeInstance(TcaDatabaseRecord::class))
|
$formData = GeneralUtility::makeInstance(
|
||||||
->compile([
|
FormDataCompiler::class,
|
||||||
|
GeneralUtility::makeInstance(TcaDatabaseRecord::class)
|
||||||
|
)->compile([
|
||||||
'tableName' => $service->getTableName(),
|
'tableName' => $service->getTableName(),
|
||||||
'vanillaUid' => (int)$record['uid'],
|
'vanillaUid' => (int)$record['uid'],
|
||||||
'command' => 'edit',
|
'command' => 'edit',
|
||||||
]);
|
]);
|
||||||
|
|
||||||
$record = $formData['databaseRow'];
|
$record = $formData['databaseRow'];
|
||||||
|
|
||||||
foreach (array_keys($record) as $column) {
|
foreach (array_keys($record) as $column) {
|
||||||
|
|
Loading…
Reference in a new issue