mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-03 04:02:43 +01:00
(stable) Fix global search scope fatal on 404 page (or other pages with no Application)
Summary: Ref T13405. Some pages don't have a contextual application. Test Plan: Viewed 404 page, no more fatal. Maniphest Tasks: T13405 Differential Revision: https://secure.phabricator.com/D20792
This commit is contained in:
parent
ec931b9384
commit
984e253d41
1 changed files with 1 additions and 1 deletions
|
@ -118,7 +118,7 @@ final class PhabricatorMainMenuSearchView extends AphrontView {
|
|||
|
||||
public static function getGlobalSearchScopeItems(
|
||||
PhabricatorUser $viewer,
|
||||
PhabricatorApplication $application) {
|
||||
PhabricatorApplication $application = null) {
|
||||
|
||||
$items = array();
|
||||
$items[] = array(
|
||||
|
|
Loading…
Reference in a new issue