Merge pull request #4508 from kinglozzer/missing-var

FIX: Using undefined var in ModelAdmin
This commit is contained in:
Daniel Hensby 2015-08-18 16:31:32 +01:00
commit a4bd11149f

View File

@ -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,