summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjavalizard <>2010-04-18 02:17:46 +0000
committerjavalizard <>2010-04-18 02:17:46 +0000
commit826d1ea2931d2af3fdc0906ad6f0c968d26a8856 (patch)
treeec2130c83eb0137a27974af29ca34cb5a78ec549
parenta77f444bbc8059c0bededc47a50f8fd9c05a1549 (diff)
THtmlElement ensures that it any new tag names are strings
-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);
}
/**