mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Merge pull request #4508 from kinglozzer/missing-var
FIX: Using undefined var in ModelAdmin
This commit is contained in:
commit
a4bd11149f
@ -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