mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
Reverted r78129
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@78182 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
30517119d4
commit
10e0f6f09b
@ -22,9 +22,6 @@ class FormTransformation extends Object {
|
||||
|
||||
// We iterate through each array simultaneously, looking at [0] of both, then [1] of both.
|
||||
// This provides a more natural failover scheme.
|
||||
if(!$field->class) {
|
||||
user_error(get_class($field) . ' is missing a class property, please ensure constructors call parent', E_USER_ERROR);
|
||||
}
|
||||
|
||||
$transNames = array_reverse(array_values(ClassInfo::ancestry($this->class)));
|
||||
$fieldClasses = array_reverse(array_values(ClassInfo::ancestry($field->class)));
|
||||
|
Loading…
x
Reference in New Issue
Block a user