Skip to content

Commit 2d22bd1

Browse files
committed
Fix an error with File Upload fields with Feed Me
1 parent 2ab4a98 commit 2d22bd1

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/fields/FileUpload.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -340,6 +340,11 @@ public function getFileKindOptions(): array
340340
return $fileKindOptions;
341341
}
342342

343+
public function resolveDynamicPathToFolderId(?ElementInterface $element = null): int
344+
{
345+
return $this->_uploadFolder($element)->id;
346+
}
347+
343348
public function getFrontEndJsModules(): ?array
344349
{
345350
return [

0 commit comments

Comments
 (0)