Make sure the title is separated correctly
[MAILPOET-2716]
This commit is contained in:
@ -253,6 +253,9 @@ class Pages {
|
||||
|
||||
public function setWindowTitle($title, $separator, $separatorLocation = 'right') {
|
||||
$titleParts = explode(" $separator ", $title);
|
||||
if (!is_array($titleParts)) {
|
||||
return $title;
|
||||
}
|
||||
if ($separatorLocation === 'right') {
|
||||
// first part
|
||||
$titleParts[0] = $this->setPageTitle($titleParts[0]);
|
||||
|
Reference in New Issue
Block a user