diff --git a/core/model/SiteTree.php b/core/model/SiteTree.php index 4d54f196a..47c5a70bc 100755 --- a/core/model/SiteTree.php +++ b/core/model/SiteTree.php @@ -1472,7 +1472,7 @@ class SiteTree extends DataObject implements PermissionProvider,i18nEntityProvid * Triggers the onRenameLinkedAsset action on extensions. */ function rewriteFileURL($old, $new) { - $fields = self::database_fields(); + $fields = $this->inheritedDatabaseFields(); foreach($fields as $fieldName => $fieldType) { if ($fieldType != 'HTMLText') continue;