From 10e0f6f09b922229f9872cb8d0c47b7d1cf7195c Mon Sep 17 00:00:00 2001 From: Sean Harvey Date: Mon, 1 Jun 2009 23:09:03 +0000 Subject: [PATCH] Reverted r78129 git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@78182 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- forms/FormTransformation.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/forms/FormTransformation.php b/forms/FormTransformation.php index 10705900c..a668374f1 100755 --- a/forms/FormTransformation.php +++ b/forms/FormTransformation.php @@ -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)));