summaryrefslogtreecommitdiff
path: root/framework/Web/UI/THtmlWriter.php
diff options
context:
space:
mode:
Diffstat (limited to 'framework/Web/UI/THtmlWriter.php')
-rw-r--r--framework/Web/UI/THtmlWriter.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/Web/UI/THtmlWriter.php b/framework/Web/UI/THtmlWriter.php
index 7388818f..36ca6f8b 100644
--- a/framework/Web/UI/THtmlWriter.php
+++ b/framework/Web/UI/THtmlWriter.php
@@ -193,7 +193,7 @@ class THtmlWriter extends TComponent implements ITextWriter
public function addStyleAttribute($name,$value)
{
if(isset(self::$_styleEncode[$name]))
- $this->_styles[$name]=HttpUtility::htmlEncode($value);
+ $this->_styles[$name]=THttpUtility::htmlEncode($value);
else
$this->_styles[$name]=$value;
}