Skip to content

Commit 363e1db

Browse files
Rall3nNamelessCoder
authored andcommitted
[BUGFIX] Fix singular record not being overlay properly
1 parent 41f6c29 commit 363e1db

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Classes/Service/WorkspacesAwareRecordService.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,7 @@ protected function getWorkspaceVersionOfRecordOrRecordItself(string $table, arra
7272
{
7373
$copy = false;
7474
if ($this->hasWorkspacesSupport($table)) {
75-
$copy = $record;
76-
$this->overlayRecordInternal($table, $copy);
75+
$copy = $this->overlayRecordInternal($table, $record);
7776
}
7877
return $copy === false ? $record : $copy;
7978
}

0 commit comments

Comments
 (0)