diff options
author | javalizard <> | 2010-04-18 02:17:46 +0000 |
---|---|---|
committer | javalizard <> | 2010-04-18 02:17:46 +0000 |
commit | 826d1ea2931d2af3fdc0906ad6f0c968d26a8856 (patch) | |
tree | ec2130c83eb0137a27974af29ca34cb5a78ec549 /framework | |
parent | a77f444bbc8059c0bededc47a50f8fd9c05a1549 (diff) |
THtmlElement ensures that it any new tag names are strings
Diffstat (limited to 'framework')
-rw-r--r-- | framework/Web/UI/WebControls/THtmlElement.php | 2 |
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);
}
/**
|