diff options
-rw-r--r-- | html_page.class | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/html_page.class b/html_page.class index 88191d9..1121017 100644 --- a/html_page.class +++ b/html_page.class @@ -149,7 +149,8 @@ function head() if (!$GLOBALS['SENT_PREAMBLE']) /* RELOAD_MAGIC already sent <html><head> */ echo $this->doctype, "\n<html$lang>\n<head>\n"; - if ($this->title) + # Generate title tag. If empty string, output <title></title> (html-required) + if (isset($this->title)) echo '<title>'.$this->title."</title>\n"; echo $this->headers; |