We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5e12f63 commit c71cda8Copy full SHA for c71cda8
src/Page/CartPageController.php
@@ -25,7 +25,7 @@ class CartPageController extends PageController
25
*/
26
public function Title(): string
27
{
28
- if ($this->getFailover()->Title) {
+ if ($this->getFailover && $this->getFailover()->Title) {
29
return $this->getFailover()->Title;
30
}
31
return _t('SilverShop\Page\CartPage.DefaultTitle', 'Shopping Cart');
0 commit comments