summaryrefslogtreecommitdiff
path: root/framework/Web/UI/WebControls/THead.php
diff options
context:
space:
mode:
Diffstat (limited to 'framework/Web/UI/WebControls/THead.php')
-rw-r--r--framework/Web/UI/WebControls/THead.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/framework/Web/UI/WebControls/THead.php b/framework/Web/UI/WebControls/THead.php
index 078582d5..40736a92 100644
--- a/framework/Web/UI/WebControls/THead.php
+++ b/framework/Web/UI/WebControls/THead.php
@@ -116,8 +116,7 @@ class THead extends TControl
public function render($writer)
{
$page=$this->getPage();
- if(($title=$page->getTitle())==='')
- $title=$this->getTitle();
+ $title=$this->getTitle();
$writer->write("<head>\n<title>".THttpUtility::htmlEncode($title)."</title>\n");
if(($metaTags=$this->getMetaTags())!==null)
{