|
|
@@ -63,7 +63,8 @@ class Zend_View_Helper_HeadTitle extends Zend_View_Helper_Placeholder_Container_
|
|
|
*/
|
|
|
public function headTitle($title = null, $setType = Zend_View_Helper_Placeholder_Container_Abstract::APPEND)
|
|
|
{
|
|
|
- if ($title) {
|
|
|
+ $title = (string) $title;
|
|
|
+ if ($title !== '') {
|
|
|
if ($setType == Zend_View_Helper_Placeholder_Container_Abstract::SET) {
|
|
|
$this->set($title);
|
|
|
} elseif ($setType == Zend_View_Helper_Placeholder_Container_Abstract::PREPEND) {
|