From a1bf03d0144115f9aa5a503b87d7f3821dc5eb6a Mon Sep 17 00:00:00 2001 From: Gabriel Dunne Date: Fri, 16 Jul 2010 13:51:30 -0700 Subject: [PATCH] Updated template.php so only show title if exists. --- lib/template.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/template.php b/lib/template.php index c470488..fea9eed 100644 --- a/lib/template.php +++ b/lib/template.php @@ -49,7 +49,7 @@ class Template public function page_title($delim) { - return isset($this->_tpl_vars['page_title']) ? $delim . $this->_tpl_vars['page_title'] : ""; + return $this->_tpl_vars['page_title'] ? $delim . $this->_tpl_vars['page_title'] : ""; } } -- 2.34.1