From 5a2be2704593870fd65fefb7a7fb798ff33d5b27 Mon Sep 17 00:00:00 2001 From: epriestley Date: Sun, 3 Feb 2013 23:25:48 -0800 Subject: [PATCH] Minor, fix loged out pages. --- src/view/page/menu/PhabricatorMainMenuView.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/view/page/menu/PhabricatorMainMenuView.php b/src/view/page/menu/PhabricatorMainMenuView.php index 9dc83bc73d..dca278117a 100644 --- a/src/view/page/menu/PhabricatorMainMenuView.php +++ b/src/view/page/menu/PhabricatorMainMenuView.php @@ -199,7 +199,9 @@ final class PhabricatorMainMenuView extends AphrontView { $view->addClass('phabricator-core-menu'); $search = $this->renderSearch(); - $view->addMenuItem($search); + if ($search) { + $view->addMenuItem($search); + } $view ->newLabel(pht('Home'))