From 091395dd6f84971b5afa2c69e1a2bf7610aaf96d Mon Sep 17 00:00:00 2001 From: xue <> Date: Tue, 7 Feb 2006 03:01:46 +0000 Subject: fixed the usage of getIsValid --- framework/Web/UI/WebControls/TBaseValidator.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'framework/Web/UI/WebControls/TBaseValidator.php') diff --git a/framework/Web/UI/WebControls/TBaseValidator.php b/framework/Web/UI/WebControls/TBaseValidator.php index 8e8566c9..f0d67048 100644 --- a/framework/Web/UI/WebControls/TBaseValidator.php +++ b/framework/Web/UI/WebControls/TBaseValidator.php @@ -177,7 +177,7 @@ abstract class TBaseValidator extends TLabel implements IValidator if($control instanceof TWebControl) { $class = preg_replace ('/ '.preg_quote($cssClass).'/', '',$control->getCssClass()); - if(!$this->isValid()) + if(!$this->getIsValid()) $class .= ' '.$cssClass; $control->setCssClass($class); } -- cgit v1.2.3