From 826d1ea2931d2af3fdc0906ad6f0c968d26a8856 Mon Sep 17 00:00:00 2001 From: javalizard <> Date: Sun, 18 Apr 2010 02:17:46 +0000 Subject: THtmlElement ensures that it any new tag names are strings --- framework/Web/UI/WebControls/THtmlElement.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'framework/Web/UI') 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); } /** -- cgit v1.2.3