mirror of
https://we.phorge.it/source/phorge.git
synced 2025-02-22 19:49:02 +01:00
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
535c8e6bdc
commit
63c7302af1
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…
Add table
Reference in a new issue