From 679871d4ada58f394859c2fca389370f962834bd Mon Sep 17 00:00:00 2001 From: Josh Bruce Date: Fri, 15 Oct 2021 18:57:17 -0500 Subject: [PATCH] Update PageTitle.php --- src/PageComponents/PageTitle.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PageComponents/PageTitle.php b/src/PageComponents/PageTitle.php index a11fcb2..f74cc19 100644 --- a/src/PageComponents/PageTitle.php +++ b/src/PageComponents/PageTitle.php @@ -62,7 +62,7 @@ private function combineTitles(array $titles): string if ($this->isReversed()) { $titles = array_reverse($titles); } - return implode(' | ', $titles); + return implode(' | ', array_filter($titles)); } /**