mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-10 08:52:39 +01:00
Minor, fix 404 page.
This commit is contained in:
parent
70e59e58f0
commit
a061359cec
1 changed files with 6 additions and 1 deletions
|
@ -27,7 +27,12 @@ final class PhabricatorApplicationDiviner extends PhabricatorApplication {
|
|||
PhabricatorController $controller = null) {
|
||||
|
||||
$items = array();
|
||||
$application = $controller->getCurrentApplication();
|
||||
|
||||
$application = null;
|
||||
if ($controller) {
|
||||
$application = $controller->getCurrentApplication();
|
||||
}
|
||||
|
||||
if ($application && $application->getHelpURI()) {
|
||||
$class = 'main-menu-item-icon-help';
|
||||
$item = new PhabricatorMainMenuIconView();
|
||||
|
|
Loading…
Reference in a new issue