summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
}
/**