diff options
author | xue <> | 2006-01-16 05:01:18 +0000 |
---|---|---|
committer | xue <> | 2006-01-16 05:01:18 +0000 |
commit | 443d8a9de12f1feb7bc6a3275ad3e09cb6e28640 (patch) | |
tree | d51271de81738cda98d482dd6f66e1ea93b18a2e /framework/Web/UI/WebControls/TStyle.php | |
parent | 5e979d01cd8eaa755f15b59f1d5cfa8f88686244 (diff) |
Diffstat (limited to 'framework/Web/UI/WebControls/TStyle.php')
-rw-r--r-- | framework/Web/UI/WebControls/TStyle.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/Web/UI/WebControls/TStyle.php b/framework/Web/UI/WebControls/TStyle.php index 3198f770..fd92df8a 100644 --- a/framework/Web/UI/WebControls/TStyle.php +++ b/framework/Web/UI/WebControls/TStyle.php @@ -322,7 +322,7 @@ class TStyle extends TComponent $writer->addStyleAttribute($name,$value);
if($this->_font!==null)
$this->_font->addAttributesToRender($writer);
- if($this->_class!=='')
+ if($this->_class!==null)
$writer->addAttribute('class',$this->_class);
}
}
|