summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
authorxue <>2006-02-07 03:01:46 +0000
committerxue <>2006-02-07 03:01:46 +0000
commit091395dd6f84971b5afa2c69e1a2bf7610aaf96d (patch)
tree783fdb4361749c6f493a8affe25b087d25754e7e /framework
parent956117a3a2bdbdfb996d15746be058467bb783ff (diff)
fixed the usage of getIsValid
Diffstat (limited to 'framework')
-rw-r--r--framework/Web/UI/WebControls/TBaseValidator.php2
1 files changed, 1 insertions, 1 deletions
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);
}