mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
BUGFIX Removed offending $this->canEdit() which returned a boolean, not appropriate to be passed into Member::mapInCMSGroups()
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@65612 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
76afea41bc
commit
827224b47f
@ -79,7 +79,7 @@ class AssetTableField extends ComplexTableField {
|
||||
new LiteralField("AbsoluteURL", $urlLink),
|
||||
new ReadonlyField("FileType", _t('AssetTableField.TYPE','Type')),
|
||||
new ReadonlyField("Size", _t('AssetTableField.SIZE','Size'), $childData->getSize()),
|
||||
new DropdownField("OwnerID", _t('AssetTableField.OWNER','Owner'), Member::mapInCMSGroups( $folder->CanEdit() ) ),
|
||||
new DropdownField("OwnerID", _t('AssetTableField.OWNER','Owner'), Member::mapInCMSGroups()),
|
||||
new DateField_Disabled("Created", _t('AssetTableField.CREATED','First uploaded')),
|
||||
new DateField_Disabled("LastEdited", _t('AssetTableField.LASTEDIT','Last changed'))
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user