mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
BUGFIX: Fixed bug introduced into AssetTableField by previous CTF change
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@62909 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
08643b3b4b
commit
a47f5834a2
@ -342,7 +342,7 @@ JS;
|
||||
return false;
|
||||
} elseif(!empty($this->parentClass)) {
|
||||
return $this->parentClass;
|
||||
} else {
|
||||
} elseif($this->form && $this->form->getRecord()) {
|
||||
return $this->form->getRecord()->ClassName;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user