From 70a8d4b8041833696ab8c8fdc57429782ba2485f Mon Sep 17 00:00:00 2001 From: Christian Weber Date: Tue, 23 Jan 2007 22:27:53 +0000 Subject: don't omit tag if $title === '' (validator) --- html_page.class | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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> (html-required) + if (isset($this->title)) echo ''.$this->title."\n"; echo $this->headers; -- cgit v1.2.3