mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
BUGFIX Fixed "Show specification..." link not working because ModelName had spaces in it
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@66791 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
96f6ffb74c
commit
811cdb66a3
@ -374,7 +374,7 @@ class ModelAdmin_CollectionController extends Controller {
|
||||
$specRelations->push(new ArrayData(array('Name' => $name, 'Description' => $desc)));
|
||||
}
|
||||
$specHTML = $this->customise(array(
|
||||
'ModelName' => singleton($modelName)->i18n_singular_name(),
|
||||
'ModelName' => str_replace(' ', '', singleton($modelName)->i18n_singular_name()),
|
||||
'Fields' => $specFields,
|
||||
'Relations' => $specRelations,
|
||||
))->renderWith('ModelAdmin_ImportSpec');
|
||||
|
Loading…
Reference in New Issue
Block a user