Skip to content

Commit

Permalink
[TASK] Don't set PID for sys_file
Browse files Browse the repository at this point in the history
  • Loading branch information
mabolek committed Feb 15, 2024
1 parent aaf4e0b commit 610b364
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Classes/DataHandling/Operation/Event/Handler/SetPid.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ public function __invoke(AbstractRecordOperationEvent $event): void
if (
!$event->getRecordOperation()->isDataFieldSet('pid')
&& $event->getRecordOperation() instanceof CreateRecordOperation
&& $event->getRecordOperation()->getTable() !== 'sys_file'
) {
$event->getRecordOperation()->setDataFieldForDataHandler(
'pid',
Expand Down

0 comments on commit 610b364

Please sign in to comment.