FIX: Using undefined var in ModelAdmin

This commit is contained in:
Loz Calver 2015-08-18 15:37:15 +01:00
parent 9eb2265a21
commit 8b638f56fb

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,