From: Gabriel Dunne Date: Fri, 16 Jul 2010 20:51:30 +0000 (-0700) Subject: Updated template.php so only show title if exists. X-Git-Url: https://git.quilime.com/?a=commitdiff_plain;h=a1bf03d0144115f9aa5a503b87d7f3821dc5eb6a;p=plog.git Updated template.php so only show title if exists. --- 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'] : ""; } }