mirror of
https://github.com/Codappix/search_core.git
synced 2024-11-22 15:16: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,
|
||||||
'tableName' => $service->getTableName(),
|
GeneralUtility::makeInstance(TcaDatabaseRecord::class)
|
||||||
'vanillaUid' => (int)$record['uid'],
|
)->compile([
|
||||||
'command' => 'edit',
|
'tableName' => $service->getTableName(),
|
||||||
]);
|
'vanillaUid' => (int)$record['uid'],
|
||||||
|
'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