summaryrefslogtreecommitdiff
path: root/framework/Web/UI
diff options
context:
space:
mode:
authorxue <>2007-04-22 01:28:09 +0000
committerxue <>2007-04-22 01:28:09 +0000
commite10194c41023f355d027e1cb005ec2dc7f7dbe3e (patch)
tree0432d501c39259f2a809ddc5eecaeb7db53b3625 /framework/Web/UI
parent7fdde2ed3e5f96579dc8f0e2c3f7ad69fcdd88db (diff)
added support for clearing theme.
Diffstat (limited to 'framework/Web/UI')
-rw-r--r--framework/Web/UI/TPage.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/framework/Web/UI/TPage.php b/framework/Web/UI/TPage.php
index 59a3e859..ba2611ec 100644
--- a/framework/Web/UI/TPage.php
+++ b/framework/Web/UI/TPage.php
@@ -525,7 +525,7 @@ class TPage extends TTemplateControl
*/
public function setTheme($value)
{
- $this->_theme=$value;
+ $this->_theme=empty($value)?null:$value;
}
@@ -545,7 +545,7 @@ class TPage extends TTemplateControl
*/
public function setStyleSheetTheme($value)
{
- $this->_styleSheet=$value;
+ $this->_styleSheet=empty($value)?null:$value;
}
/**