mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
FIX: Using undefined var in ModelAdmin
This commit is contained in:
parent
9eb2265a21
commit
8b638f56fb
@ -366,7 +366,7 @@ abstract class ModelAdmin extends LeftAndMain {
|
||||
$specRelations->push(new ArrayData(array('Name' => $name, 'Description' => $desc)));
|
||||
}
|
||||
$specHTML = $this->customise(array(
|
||||
'ClassName' => str_replace('\\', '_', $className),
|
||||
'ClassName' => $this->sanitiseClassName($this->modelClass),
|
||||
'ModelName' => Convert::raw2att($modelName),
|
||||
'Fields' => $specFields,
|
||||
'Relations' => $specRelations,
|
||||
|
Loading…
Reference in New Issue
Block a user