mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-27 01:02:42 +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) {
|
PhabricatorController $controller = null) {
|
||||||
|
|
||||||
$items = array();
|
$items = array();
|
||||||
$application = $controller->getCurrentApplication();
|
|
||||||
|
$application = null;
|
||||||
|
if ($controller) {
|
||||||
|
$application = $controller->getCurrentApplication();
|
||||||
|
}
|
||||||
|
|
||||||
if ($application && $application->getHelpURI()) {
|
if ($application && $application->getHelpURI()) {
|
||||||
$class = 'main-menu-item-icon-help';
|
$class = 'main-menu-item-icon-help';
|
||||||
$item = new PhabricatorMainMenuIconView();
|
$item = new PhabricatorMainMenuIconView();
|
||||||
|
|
Loading…
Reference in a new issue