summaryrefslogtreecommitdiff
path: root/framework/Web/UI/WebControls/THead.php
diff options
context:
space:
mode:
authorxue <>2006-03-30 19:38:44 +0000
committerxue <>2006-03-30 19:38:44 +0000
commit95045861e77f7ad9978cf6f3e741f3ffe66e8f96 (patch)
tree2c66b67f09d0ae5d9593245e0c6079dab1143635 /framework/Web/UI/WebControls/THead.php
parent152f44e871998d6715a9b7d39e8d2bc30530aaf1 (diff)
Enhanced page title manipulation so that page title is always stored in THead.
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)
{