summaryrefslogtreecommitdiff
path: root/framework/Web
diff options
context:
space:
mode:
Diffstat (limited to 'framework/Web')
-rw-r--r--framework/Web/UI/WebControls/THtmlElement.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/Web/UI/WebControls/THtmlElement.php b/framework/Web/UI/WebControls/THtmlElement.php
index ddb582eb..856db4fd 100644
--- a/framework/Web/UI/WebControls/THtmlElement.php
+++ b/framework/Web/UI/WebControls/THtmlElement.php
@@ -51,7 +51,7 @@ class THtmlElement extends TWebControl
*/
public function setTagName($value)
{
- $this->_tagName=$value;
+ $this->_tagName=TPropertyValue::ensureString($value);
}
/**