summaryrefslogtreecommitdiff
path: root/framework/Web/UI
diff options
context:
space:
mode:
authorxue <>2006-01-16 05:01:18 +0000
committerxue <>2006-01-16 05:01:18 +0000
commit443d8a9de12f1feb7bc6a3275ad3e09cb6e28640 (patch)
treed51271de81738cda98d482dd6f66e1ea93b18a2e /framework/Web/UI
parent5e979d01cd8eaa755f15b59f1d5cfa8f88686244 (diff)
Diffstat (limited to 'framework/Web/UI')
-rw-r--r--framework/Web/UI/WebControls/TStyle.php2
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);
}
}