Browse files

Merge pull request #37 from barrymieny/master

Set $title_segments values outside title implosion
  • Loading branch information...
2 parents 8ce4aa6 + 3e03ccf commit 5c015f370ba5d5b35d63299e90ddd2d2d6dcc9e1 @philsturgeon committed Jun 1, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 libraries/Template.php
View
3 libraries/Template.php
@@ -280,7 +280,8 @@ public function title()
// If we have some segments passed
if (func_num_args() >= 1)
{
- $this->_title = implode($this->_title_separator, func_get_args());
+ $title_segments = func_get_args();
+ $this->_title = implode($this->_title_separator, $title_segments);
}
return $this;

0 comments on commit 5c015f3

Please sign in to comment.