diff --git a/_config.php b/_config.php index cccb7fc..c1d6459 100644 --- a/_config.php +++ b/_config.php @@ -1,3 +1,7 @@ * Credit to Uncle Cheese for the recipe */ -class ValidationLogicCriteria extends Object +class ValidationLogicCriteria extends SS_Object { /** * The name of the form field that depends on the criteria @@ -238,4 +238,4 @@ public function getMasterList() } return $list; } -} \ No newline at end of file +} diff --git a/code/ValidationLogicCriterion.php b/code/ValidationLogicCriterion.php index 169ee16..c1ac924 100644 --- a/code/ValidationLogicCriterion.php +++ b/code/ValidationLogicCriterion.php @@ -7,7 +7,7 @@ * * Credit to Uncle Cheese for the recipe */ -class ValidationLogicCriterion extends Object +class ValidationLogicCriterion extends SS_Object { @@ -125,4 +125,4 @@ public function toPHP() throw new Exception("ValidationLogicCriteria: php operator \"$this->operator\" not configured."); } } -} \ No newline at end of file +} diff --git a/code/ZenValidatorConstraint.php b/code/ZenValidatorConstraint.php index 0310bd5..680a84b 100644 --- a/code/ZenValidatorConstraint.php +++ b/code/ZenValidatorConstraint.php @@ -5,7 +5,7 @@ * @license BSD License http://www.silverstripe.org/bsd-license * @author * */ -abstract class ZenValidatorConstraint extends Object +abstract class ZenValidatorConstraint extends SS_Object { /**