diff --git a/code/Model/SiteTreeFileFormFactoryExtension.php b/code/Model/SiteTreeFileFormFactoryExtension.php index 74197e6c..d420b86d 100644 --- a/code/Model/SiteTreeFileFormFactoryExtension.php +++ b/code/Model/SiteTreeFileFormFactoryExtension.php @@ -35,7 +35,7 @@ class SiteTreeFileFormFactoryExtension extends DataExtension /** @var File|SiteTreeFileExtension|RecursivePublishable $record */ $record = $context['Record']; - $usedOnField = UsedOnTable::create('UsedOnTableReplacement', $record); + $usedOnField = UsedOnTable::create('UsedOnTableReplacement'); // Add field to new tab /** @var Tab $tab */